Friday 2 December 2011

pthread cancel crash

pthread cancel crash

hi all, I am new to this forum and also to pthread usage. I face similar issue where i get illegal instruction error while using pthread cancel to delete a thread. my thread would be waiting for a semaphore and then i would try to call pthread_cancel on the thread. i dont get this error when i build my application statically, but when my application is build dynamically i get the crash. Also in both cases pthread library is called dynamically..can somebody please help me on this?

No comments:

Post a Comment