One thread unable to change another thread's variable even on making the variable volatile

前端 未结 0 1482
走了就别回头了
走了就别回头了 2021-01-03 05:46

I have the following Processor Class -

public class Processor extends Thread {

    private volatile boolean running = true;

           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题