On Thu, 31 Jan 2002 15:41:31 -0800, Archie Cobbs wrote:
>I've just found that if you have a thread waiting on an event
>ring, and another thread manipulates that ring, what you might
>hope to happen (the waiting thread picks up the new events) doesn't
>seem to happen.
>
>First, can anyone confirm or deny this?
>
>Second, it seems like a good thing to document either way
>because it is a somewhat subtle and non-obvious point.

        I think the most sensible thing to do is to prohibit it. Data that is shared 
between threads should not be modified in one while it is in use in another.

        DS


______________________________________________________________________
GNU Portable Threads (Pth)            http://www.gnu.org/software/pth/
User Support Mailing List                            [EMAIL PROTECTED]
Automated List Manager (Majordomo)           [EMAIL PROTECTED]

Reply via email to