信号灯法: 生产/消费模式:信号灯法 package jingcheng.test.gaoji; //测试生产者消费者问题2:信号灯法,标志位解决 public class TestPc2 { public static void main(String[] args) { TV tv = new TV(); new Player(tv).start(); new Watcher(tv).start(); } } //生产者-->演员 class Player extends Thread{ TV tv; public Player(TV tv){ this.tv = tv;</