[uClibc] Question about pthreads/exec and uClibc

Dave Hylands dhylands at broadcom.com
Wed Jun 30 17:39:18 UTC 2004


Hi,

According to the documentation that I can find on exec and pthreads,
calling exec is supposed to terminate all threads in the process.

The glibc implementation has 

int
__execve (file, argv, envp)
     const char *file;
     char *const argv[];
     char *const envp[];
{
  /* If this is a threaded application kill all other threads.  */
  if (__pthread_kill_other_threads_np)
    __pthread_kill_other_threads_np ();

  ...  

uClibc doesn't seem to have anything equivalent.

Am I missing something? Or is this a bug?

Thanks

--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/ 




More information about the uClibc mailing list