On Wed, May 03, 2006 at 10:54:01PM +0300, Alin-Adrian Anton wrote:
> Daniel Eischen wrote:
> [..]
> >
> >Note that sigprocmask() and pthread_sigprocmask() are equivalent. I
> >don't even think pthread_sigprocmask() is in the standard any longer
> >(it used to be in an older version of the standard
Daniel Eischen wrote:
[..]
Note that sigprocmask() and pthread_sigprocmask() are equivalent. I
don't even think pthread_sigprocmask() is in the standard any longer
(it used to be in an older version of the standard). New applications
should be using sigprocmask().
Yes I noticed. However, th
On Wed, 3 May 2006, Alin-Adrian Anton wrote:
Daniel Eischen wrote:
You are entirely confused. You should go back to the POSIX standard
and get Dave Butenhof's Programming with POSIX Threads book.
[..]
You are right. All is clear now, i re-read the link twice and played with
sigprocmask vs.
Daniel Eischen wrote:
You are entirely confused. You should go back to the POSIX standard
and get Dave Butenhof's Programming with POSIX Threads book.
[..]
You are right. All is clear now, i re-read the link twice and played
with sigprocmask vs. pthread_sigmask. It's clear now, also with the
On Tue, 2 May 2006, Alin-Adrian Anton wrote:
Daniel Eischen wrote:
POSIX states any thread that is in sigwait() (with the specified
signal in the wait mask), or has the signal unmasked (in the threads
signal mask) can receive the signal. If you want a certain thread
to receive a process-wide s
On Tue, May 02, 2006 at 08:58:56PM +0300, Alin-Adrian Anton wrote:
> However, this is not fully clean: all the other threads should *ignore*
> the signals, not *block* them.
Threads don't have signal queues. POSIX specifies that a process has a
*global* list of pending signals and a *thread-local
Daniel Eischen wrote:
POSIX states any thread that is in sigwait() (with the specified
signal in the wait mask), or has the signal unmasked (in the threads
signal mask) can receive the signal. If you want a certain thread
to receive a process-wide signal, then the only sure way (POSIX) to
do tha
On Tue, 2 May 2006, Alin-Adrian Anton wrote:
Hi Hackers,
I'm working on a threaded daemon and I'm trying to make it sysadmin
friendly. For this, I'm working with external signals.
I noticed different behaviour between BSD and Linux for this. When I
send an external SIGHUP (rehashing the c
Hi Hackers,
I'm working on a threaded daemon and I'm trying to make it sysadmin
friendly. For this, I'm working with external signals.
I noticed different behaviour between BSD and Linux for this. When I
send an external SIGHUP (rehashing the config file) on BSD the thread
receiving the si
9 matches
Mail list logo