Messages in this thread | | | Date | Tue, 19 Jan 1999 08:15:51 -0500 | From | Arvind Sankar <> | Subject | Re: Netscape broken with 2.2.0-pre7 |
| |
On Mon, Jan 18, 1999 at 09:17:13PM -0500, Albert D. Cahalan wrote: > Consider these events: > > 1. you check the buffer - it is empty > 2. a signal arrives > 3. you select() because you think the buffer is empty > > Time to rant!
What are semaphores for? Implementing a circular buffer with one reader and one writer is probably in the first assignment of any concurrent programming course.
-- arvind Just my $.02 worth....
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |