This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: sigwait not returning
- From: "N.Suresh" <nsuresh at cdotb dot ernet dot in>
- To: Nick Garnett <nickg at ecoscentric dot com>
- Cc: ecos-discuss <ecos-discuss at sources dot redhat dot com>, Prakash R<rprakash at cdotb dot ernet dot in>, Shiv Kumar <bshiva at cdotb dot ernet dot in>, Titty Thomas<titty at cdotb dot ernet dot in>
- Date: Thu, 30 Jan 2003 12:16:17 +0530
- Subject: Re: [ECOS] sigwait not returning
- Organization: C-DoT
- References: <3E380BCE.9010201@cdotb.ernet.in> <m34r7r94jj.fsf@balti.calivar.com>
Try this instead:
pthread_sigmask (SIG_BLOCK, &set, (sigset_t*)NULL);
I had tried this before. It didn't work.
So i tried to unblock all the signals in the thread itself.
If i don't do this, in alarm_action () function, the check whether any
thread is waiting for the signal is failing and
it is simply returning.
regards
--
!============================================================================!
= Suresh N., Research Engineer, C-DoT, Bangalore. =
= Call me at : OFF: 2383951(Dir) / 2263399 (268) RES: 3334248 =
= Alternate email : nsur_mys@rediffmail.com =
= QOT: Modern man is the missing link between apes and human beings.
!============================================================================!
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss