lkml.org 
[lkml]   [1999]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Why 'wait queues' and not 'channels'

On Sun, 16 May 1999, Gerard Roudier wrote:

> > Think harder, the issue is that we eliminate completely any races
> > between the adding to wait queue and test of the event. The task
> > himself controls completely his existence on the wait queue.
[...]

> It is perhaps correct in theory, but it pollutes most of kernel data
> structures with wait_queues.

so 'channels' do not have to be added to objects?

> For example, what happens if we free a data structure with some not
> empty wait queue in it ?

we dont use and sleep on any kernel object without getting a reference to
it.

-- mingo


-
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:51    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog