Alain Ketterlin <al...@dpt-info.u-strasbg.fr> writes: >> Passing a void* is not equivalent to passing anything, not even in C. >> Moreover, specific values are still reserved, like PTHREAD_CANCELLED. > > Thread cancellation is program logic (pthread_cancel), it doesn't mean > you thread crashed, it means your program decided to cancel the thread. > If you still care about the return value after having called > pthread_cancel(),
Sotry, forgot to end this sentence... What I mean is: If you still care about the return value after having called pthread_cancel(), your program logic is unnecessarily complex, and you should find some other way to handle this case. -- Alain. -- http://mail.python.org/mailman/listinfo/python-list