[Lldb-commits] [PATCH] Avoid segfault in pthread_cancel.

Stephen Wilson wilsons at start.ca
Thu Jul 22 11:05:53 PDT 2010


Hi,

This patch changes the point at which Process::m_private_state_thread is
invalidated.  There was a race condition where the private thread would
invalidate its own pthread_t object before the parent could perform a
pthread_cancel/pthread_join sequence.


Take care,
Steve

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: process-private-thread.patch
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20100722/542f4d99/attachment.ksh>


More information about the lldb-commits mailing list