[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: thread specific storage bug?
From: |
Matthew Newhook |
Subject: |
Re: thread specific storage bug? |
Date: |
Mon, 16 Oct 2000 15:15:02 -0230 |
Hi,
On Mon, Oct 16, 2000 at 07:44:08PM +0200, Wolfram Gloger wrote:
> Thanks for your reply, it was much clearer for me!
>
> > I'm not calling pthread_key_delete from a thread destructor function.
>
> OK.
>
> > It's being called in main() after my threads have (mostly) gone away. The
> > problem occurs when __pthread_destroy_specifics() and pthread_key_delete
> > runs concurrently.
>
> Right, I see what you mean now - no need for a test case. Below is an
> untested patch against current glibc-2.2 that should fix this. I will
> test and report results later.
Great, thanks for the patch.
> Regards,
> Wolfram.
Regards, Matthew
--
Matthew Newhook E-Mail: mailto:address@hidden
Software Designer WWW: http://www.ooc.com
Object Oriented Concepts, Inc. Phone: (709) 738-3725