Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Signals and Pthreads in Digital Unix 4.0b
@ 1997-10-12  4:00 Dirk Grunwald
  0 siblings, 0 replies; only message in thread
From: Dirk Grunwald @ 1997-10-12  4:00 UTC (permalink / raw)




I'm running Digital Unix 4.0b on a 4100 with the jumbo patch
installed.  In a threaded application (using pthreads), I set a signal
using

	signal(SIGPIPE, SIG_IGN)

Later, somehow, I get a SIGPIPE error on a write to a socket.

I set my SIG_IGN before any threads are forked. From my reading of the
pthreads manual, that signal action should then be used for all
pthreads.

There are no other routines that set SIGPIPE in my application. When I
trace the __sigaction and _Esigaction and signal entry points, I see
that the pthreads libraries muck with signals considerably.

Does anyone know of a buglist for pthreads for this version of Digital
Unix? Is it possible that this version of the thread library might
acciddently re-enable the signal?


-- 
Dirk Grunwald                 Assoc. Prof, Univ. of Colorado at Boulder



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-10-12  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-10-12  4:00 Signals and Pthreads in Digital Unix 4.0b Dirk Grunwald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox