-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 06 January 2003 07:26 am, Dima K wrote:
> Even if we pthread_testcancel, it is still possible
> that the event is deleted right after
> pthread_testcancel but before it is derefernced. So
> the code needs to set
> pthread_setcancelstate(PTHREAD_CANCEL_ASYNCHRONOUS)
> which requires it to be very careful since few
> functions can be called when it is in that state.
> Furthermore the current code doesn't enable
> cancellation until after dereferencing the event and
> sometimes it dereferences the event while holding a
> mutex, so the solution is to have a cancellation
> handler which will unlock the used mutexes.

Right.

I will make a release before this is fixed and then a bugfix release shortly 
afterwards that will address this issue and any other bugs that come up.

Jon

______________________________________________________________
Jon Keating                                                ICQ #16325723
[EMAIL PROTECTED]                                               GPG ID: 0x2290A71F
emostar on irc.openprojects.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+Gmebld1KayKQpx8RAulpAKDxDA3ByVCTNVlTI0UTiPRjVjORwwCfR4dL
CyBfOvTIXXEl2orwYUUNewM=
=qF2l
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to