I tried to check if a thread is running with use of timed_join(0)
. But unlike others, I get this error:
1>c:...\boost\thread\detail\thread.hpp(538): error C2679: binary '+' : no operator found which takes a right-hand operand of type 'const int' (or there is no acceptable conversion)
It looks like the timed_join()
is not correctly defined to use int
. But how come I am the only one who got this error? (try to search the title, I got 3 total results at google)