lkml.org 
[lkml]   [1999]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.041 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site