From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,80cd9c212428b4ef,start X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,80cd9c212428b4ef,start X-Google-Attributes: gidfee84,public From: Dirk Grunwald Subject: Signals and Pthreads in Digital Unix 4.0b Date: 1997/10/12 Message-ID: #1/1 X-Deja-AN: 279848542 Organization: University of Colorado Newsgroups: comp.unix.osf.osf1,comp.sys.dec 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