What is the significance of calling pthread_testcancel() before and after a read(...) call?
Thank you! I have one more question and googling did not give me an easy answer.
Why exactly should we create cancellation points?
Last edited on
They make it possible to terminate a thread without terminating the whole process.