logo       

pthread_create/~ICQEvent race condition: msg#00033

network.licq.devel

Subject: pthread_create/~ICQEvent race condition

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: pgpNgZo1d4XqH.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise