I have a call to a third-party C ++ library that I put in my own thread (currently using NSThread). I would like to give the user the opportunity to stop the execution of this thread. (I am well aware of all the problems this may cause, but I still want to do this.)
According to the Apple Thread Programming Guide , there are opportunities in Cocoa to do this. Is this true for the iPhone, or should I rely on Posix streams to achieve my goal?
Greetings
MrMage
source
share