阅读背景:

在派生类中管理线程生命周期

来源:互联网 

I have a Base class which acts as an interface to multiple strategies for synchronous event processing. I now want the strategies to process the events asynchronously. To minimize code refactor, each strategies will have its own internal thread for asynchronous event processing. My main concern is how to manage the lifecycle of this thread. The class which acts as an interface




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: