"Peter T. Breuer" wrote:
[snip]> um, shouldn't you be testing for res==-1, as well?
> > specifically that condition and errno==EINTR is how I'd expect
> > signals to effect the loop...
[snip]
> I assumed that "error" is something like trying to watch for a
> negative number or zero descriptors
Hi,
"Peter T. Breuer" <[EMAIL PROTECTED]> writes:
> "A month of sundays ago Alan Cox wrote:"
> > > What IS the magic combination that makes select interruptible
> > > by honest-to-goodness non-blocked signals!
> > man
> >
> > [seriously man sigaction]
>
> Equally seriously .. all signals are u
> > [seriously man sigaction]
> Equally seriously .. all signals are unblocked in my code and always
[see man signaction]
> struct sigaction sa =3D { {sighandler}, {{0}}, SA_RESTART, N=
subtle hint> ^^
>
-
To unsubscribe from
"Mark Hahn wrote:"
> > while (1) {
> > int res = select(n,rfds,wfds,efds,&timeout);
> > if (res > 0)
> > return res;// data or error is expected
> > if (res == 0) {
> > return -ETIME; // tim
"A month of sundays ago Alan Cox wrote:"
> > What IS the magic combination that makes select interruptible
> > by honest-to-goodness non-blocked signals!
> man
>
> [seriously man sigaction]
Equally seriously .. all signals are unblocked in my code and always
have been. The processes receive sign
> What IS the magic combination that makes select interruptible
> by honest-to-goodness non-blocked signals!
man
[seriously man sigaction]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.
"A month of sundays ago Laramie Leavitt wrote:"
> I think that this is slightly off-topic, but I figure that
I'll second this one (waaay off topic for the kernel list,
but ...)
> someone here knows the answer or where to point me to the
> answer. Please respond privately so the entire list is n
7 matches
Mail list logo