* [9fans] drawterm cpunote
@ 2006-09-24 20:09 Skip Tavakkolian
2006-09-25 11:12 ` Russ Cox
0 siblings, 1 reply; 2+ messages in thread
From: Skip Tavakkolian @ 2006-09-24 20:09 UTC (permalink / raw)
To: 9fans
this code in kern/devcons.c
case Qcpunote:
sleep(&up->sleep, return0, nil);
does it hang a blockingslave in exportfs, pending a read?
for drawterm, the net effect is that rmtnoteproc in
cpu.c gets an error when drawterm goes away which
then kills rc. correct?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [9fans] drawterm cpunote
2006-09-24 20:09 [9fans] drawterm cpunote Skip Tavakkolian
@ 2006-09-25 11:12 ` Russ Cox
0 siblings, 0 replies; 2+ messages in thread
From: Russ Cox @ 2006-09-25 11:12 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
> this code in kern/devcons.c
>
> case Qcpunote:
> sleep(&up->sleep, return0, nil);
>
> does it hang a blockingslave in exportfs, pending a read?
> for drawterm, the net effect is that rmtnoteproc in
> cpu.c gets an error when drawterm goes away which
> then kills rc. correct?
sounds right to me, though i'm not 100%
sure that the failed read on cpunote is what
kills everything off.
in plan 9 the cpu client relays notes via that
file, but since drawterm doesn't have notes
to relay, it just makes the reads block until it exits.
russ
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-09-25 11:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-24 20:09 [9fans] drawterm cpunote Skip Tavakkolian
2006-09-25 11:12 ` Russ Cox
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).