* [9fans] name resolution
@ 2003-09-18 17:21 Richard Uhtenwoldt
0 siblings, 0 replies; 4+ messages in thread
From: Richard Uhtenwoldt @ 2003-09-18 17:21 UTC (permalink / raw)
To: 9fans
>Nah, if the program isn't event driven, a signal still ought to be able
>to interrupt the syscall. Lynx probably just doesn't bother.
that's right: during a name resolution in Lynx, sig intr (^c) and sig
susp (^z) have their usual effect: namely, sig intr kills the Lynx.
because the ftp command does so, it is almost certain that Lynx
_could_ have a handler (terminology?) that customizes the behavior of
sig intr. in particular, if ftp is blocked on a name lookup, sig intr
gets you right back to the command prompt.
but like you say they did not bother.
>Plan 9 has a much better bug: if a fileserver doesn't answer 9p messages,
>a communicating process blocked in read/write never gets unblocked and
>can't be killed with a signal. Sigh.
I'm curious whether _that_ is because no one has bothered (to fix it)
or because previous design and implementation decisions make fixing
it really awkward.
if a fileserver doesn't answer 9p messages,
can a signal (note) kill the _parent_ of the blocked process?
can the parent be made to handle a signal by killing the child?
(I hope that's clear!)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] name resolution
2003-09-18 1:05 ` Scott Schwartz
@ 2003-09-18 1:17 ` Joel Salomon
0 siblings, 0 replies; 4+ messages in thread
From: Joel Salomon @ 2003-09-18 1:17 UTC (permalink / raw)
To: 9fans
> | in Linux, probably because of glibc, a web browser (well, only tested
> | with Lynx) doing a domain-name lookup cannot be interrupted by the
> | "stop button" (more precisely, the "z" key in Lynx).
>
> Nah, if the program isn't event driven, a signal still ought to be able
> to interrupt the syscall. Lynx probably just doesn't bother.
>
Pressing "z" sends a signal?
Lynx is pretty good with "z" during other operations - I'd guess that
under *n!x socket connection is harder to mulithread (?) - I got the same
result under ScumOS.
> | I'm wondering if Plan 9 has the same restriction/property.
The Plan 9 browser has no bugs. ☺
> Plan 9 has a much better bug: if a fileserver doesn't answer 9p messages,
> a communicating process blocked in read/write never gets unblocked and
> can't be killed with a signal. Sigh.
Coool!!!
--Joel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] name resolution
2003-09-17 23:30 Richard Uhtenwoldt
@ 2003-09-18 1:05 ` Scott Schwartz
2003-09-18 1:17 ` Joel Salomon
0 siblings, 1 reply; 4+ messages in thread
From: Scott Schwartz @ 2003-09-18 1:05 UTC (permalink / raw)
To: 9fans
| in Linux, probably because of glibc, a web browser (well, only tested
| with Lynx) doing a domain-name lookup cannot be interrupted by the
| "stop button" (more precisely, the "z" key in Lynx).
Nah, if the program isn't event driven, a signal still ought to be able
to interrupt the syscall. Lynx probably just doesn't bother.
| I'm wondering if Plan 9 has the same restriction/property.
Plan 9 has a much better bug: if a fileserver doesn't answer 9p messages,
a communicating process blocked in read/write never gets unblocked and
can't be killed with a signal. Sigh.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [9fans] name resolution
@ 2003-09-17 23:30 Richard Uhtenwoldt
2003-09-18 1:05 ` Scott Schwartz
0 siblings, 1 reply; 4+ messages in thread
From: Richard Uhtenwoldt @ 2003-09-17 23:30 UTC (permalink / raw)
To: 9fans
in Linux, probably because of glibc, a web browser (well, only tested
with Lynx) doing a domain-name lookup cannot be interrupted by the
"stop button" (more precisely, the "z" key in Lynx).
so, if you mistakenly follow a link and the name server takes 10
seconds to respond, the "stop button" in particular and the browser in
general freezes for 10 seconds.
I'm wondering if Plan 9 has the same restriction/property.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-09-18 17:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-18 17:21 [9fans] name resolution Richard Uhtenwoldt
-- strict thread matches above, loose matches on Subject: below --
2003-09-17 23:30 Richard Uhtenwoldt
2003-09-18 1:05 ` Scott Schwartz
2003-09-18 1:17 ` Joel Salomon
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).