"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
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, or
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
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 unblocked in my code
> > [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
"Mark Hahn wrote:"
> > while (1) {
> > int res = select(n,rfds,wfds,efds,);
> > if (res > 0)
> > return res;// data or error is expected
> > if (res == 0) {
> > return -ETIME; // timeo in
"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
> 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
"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
I think that this is slightly off-topic, but I figure that
someone here knows the answer or where to point me to the
answer. Please respond privately so the entire list is not
spamed by the response.
I am writing a threaded network daemon using a thread per
connection model (I know, it is not
I think that this is slightly off-topic, but I figure that
someone here knows the answer or where to point me to the
answer. Please respond privately so the entire list is not
spamed by the response.
I am writing a threaded network daemon using a thread per
connection model (I know, it is not
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 not
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
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 signals
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; // timeo in select
[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 this
16 matches
Mail list logo