This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: openoffice 1.0.1 vs glibc cvs
- From: neal at cs dot uml dot edu (Neal H. Walfield)
- To: Kevin Hendricks <khendricks at ivey dot uwo dot ca>
- Cc: libc-alpha at sources dot redhat dot com
- Date: 15 Nov 2002 17:07:17 -0500
- Subject: Re: openoffice 1.0.1 vs glibc cvs
- References: <4589B9BA-F8DB-11D6-8650-0030654D6A26@ivey.uwo.ca>
> 2. somehow be able to call waitpid and wait from a signal handler
> WITHOUT it being wrappered
> by the pthread library and made a cancellation point.
If the problem is that it is made a cancelation point, then why can
you not call pthread_setcancel (PTHREAD_CANCEL_DISABLE, &oldstate) on
entry and pthread_setcancel (oldstate, &oldstate) immediately before
exiting?