9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
[parent not found: <<dd6fe68a0910292245x70f83d7bl8957356abda38201@mail.gmail.com>]
* [9fans] double wakeup disallowed
@ 2009-10-27 23:38 erik quanstrom
  2009-10-28  9:43 ` Charles Forsyth
  0 siblings, 1 reply; 8+ messages in thread
From: erik quanstrom @ 2009-10-27 23:38 UTC (permalink / raw)
  To: 9fans

i read russ' sleep history of the discussion of
sleep/wakeup on 9fans and didn't see any
references to this.

i've been wondering why wakeup requires that
some process be in state Wakeme and that
it be waiting for the particular Rendez passed
to wakeup.

i don't think this is required for correctness
(the model works with this commented out)
and only disallows waking up a process that's not
sleeping or sleeping on another Rendez.

it would seem to me useful to be able to not
make fancy provisions for avoiding double
wakeups.  is there any reason to avoid this
that i do not see?

- erik



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-10-30 14:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <<d73c6a7a4b7a22bffde73a5b0ec7a0b7@terzarima.net>
2009-10-28 13:24 ` [9fans] double wakeup disallowed erik quanstrom
2009-10-28 15:29   ` Russ Cox
2009-10-28 15:45     ` Charles Forsyth
2009-10-28 16:14       ` erik quanstrom
2009-10-30  5:45         ` Russ Cox
     [not found] <<dd6fe68a0910292245x70f83d7bl8957356abda38201@mail.gmail.com>
2009-10-30 14:11 ` erik quanstrom
2009-10-27 23:38 erik quanstrom
2009-10-28  9:43 ` Charles Forsyth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).