
Alexander Terekhov wrote:
Andrey Melnikov wrote: [...]
asynchronous cancellation doesn't work in all cases. Threads should be aware of external cancellation and should be written properly to make the cancellation (synchronous or asynchronous) safe.
Your comment is not bad addition to the FAQ.
What FAQ?
pthread isn't the
only thread abstraction library in the world.
Really? Illuminate me.
Are you kidding? There are TONS of these. OmniThread, Mozilla NSPR threads, Apache APR threads, Qt QThread These are cross platform ones, and there are also things like MFC CThread, Borland VCL TThread, .NET MC++ threads, private implementations like http://www.codeproject.com/threads/cthread.asp and many many private implementations: http://www.google.com/search?q=thread+library Andrey