阅读背景:

我可以使用Boost Signals2和Threads在C ++中创建软件看门狗定时器线程吗?

来源:互联网 

I am running function Foo from somebody else's library in a single-threaded application currently. Most of the time, I make a call to Foo and it's really quick, some times, I make a call to Foo and it takes forever. I am not a patient man, if Foo is going to take forever, I want to stop execution of Foo and not call it with those arguments.I am running function Foo from somebody else's




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

分享到: