Re: request for help



there is a function:

/* Terminate all threads in the program except the calling process.
   Should be called just before invoking one of the exec*() functions. 
*/

extern void pthread_kill_other_threads_np (void) __THROW;

I guess it is the one we should try to call...

/pawel

On 2001-08-21 11:57 Pawel Salek wrote:
> 
> On 2001-08-21 11:27 Brian Stafford wrote:
> > On Tue, 21 August 10:01 christophe barbé wrote:
> > Can't help there, sorry.  Using uname() avoids the fork/exec and
> > associated
> > threading problems - I know there are pthreads functions designed to
> > prevent
> > potential deadlock when threaded processes fork but I forget what
> they
> > are.
> 
> I wonder whether we need these functions to fix this
> gnome_async_exec() hang people experience?

-- 
Pawel Salek (pawsa@theochem.kth.se) http://www.theochem.kth.se/~pawsa/
Theoretical Chemistry Division, KTH voice: +46 8 790-8202




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]