Hi Monks, i have a question for the annals of our monastery library.
Posix threads (defined at <pthread.h>) has a list of standard calls:
- pthread_create
- pthread_exit
- pthread_join
- pthread_detach
- ...
- pthread_cancel
Seems that Perl thread implementation only has the most useful calls; but, where is the pthread_cancel? ... how can I cancel the execution of a thread which is running from another thread? ... Is this possible?
I search on perlthrtut, the threads man pages, the pm::ssearch, even i didn't find it on the camel book ... somebody knows any form to cancel the execution of a thread? ...
thanks :)
perl -Te 'print map { chr((ord)-((10,20,2,7)[$i++])) } split //,"turo"'