|
From: | Davy Durham |
Subject: | Re: popen/pthread/static-libs bug |
Date: | Fri, 05 Jul 2002 00:54:05 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/00200205 |
-- Davy David Durham wrote:
Actually.. this source code can even be reduced to (I don't know why I had the pthread_join in there.. it hangs at the pthread_create):#include <stdio.h> #include <pthread.h> void *func(void *temp) { return NULL; } int main() { pthread_t threadID; popen("ls","r"); pthread_create(&threadID,NULL,func,NULL);return 0;}
[Prev in Thread] | Current Thread | [Next in Thread] |