[prev in list] [next in list] [prev in thread] [next in thread] 

List:       licq-devel
Subject:    [Licq-devel] pthread_create/~ICQEvent race condition
From:       Daniel =?iso-8859-1?Q?Gl=F6ckner?= <daniel-gl () gmx ! net>
Date:       2005-09-14 12:04:40
Message-ID: 20050914120439.GA790 () daniel ! bse
[Download RAW message or body]

Valgrind reports a race condition, when ProcessRunningEvent_Server_tep
deletes the event where pthread_create has yet to write thread_send.
ProcessRunningEvent_Client_tep looks as if it has the same problem on
errors.

A solution could be to prevent the event from deconstructing with a
mutex until pthread_create returns.

  Daniel

[Attachment #3 (application/pgp-signature)]
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Licq-devel mailing list
Licq-devel@licq.org
https://lists.sourceforge.net/lists/listinfo/licq-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic