Malcolm Weir writes:
The same seems true of the other pthread_XXXX() calls.[ Not, I agree, the end of the world... But it managed to confuse me for a while that I was getting both "Success" and "Illegal seek" errors from a thread library! ] The more vaguely interesting thing is that pthread_cond_destroy() *is* returning EBUSY.
Yes, that's the interesting part. I'll fix the pthread error checking, but the EBUSY return suggests an underlying problem.
The condition variable gets waited on by the worker thread. The same worker thread that gets cancelled, and then joined, right before this pthread_cond_destroy call. By the time pthread_join returns, the worker thread should be gone, and it should not be waiting on the condition variable any more. So, I don't understand the reason for the EBUSY error, either.
pgpbjJ5ZeZXHg.pgp
Description: PGP signature
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
