Synchronization: Wake up a thread when all other threads have left

前端 未结 0 1285
情歌与酒
情歌与酒 2021-02-14 08:45

Here\'s the scenario: When my application is shutting down I wish to start a disposing thread but it must sleep straight away. I want all the running threads enter a cleanup sec

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