Re: Fork and pthread_create
rfr <[email protected]> Mon, 09 Sep 2002 22:57:59 +0200
| Newsgroups | gmane.linux.ngpt.user |
|---|---|
| Message-ID | <[email protected]> |
Hello! I solved the problem ... it seams that I had to do: ./configure --prefix=/usr --enable-pthread --enable-syscall-soft --enable-syscall-hard But I used to do: ./configure --prefix=/usr Regards, Frederic rfr wrote: > Hello! > > I already made a post some times ago but did not get any answer. > Anyway, I switched form 2.4.19 kernel to 2.4.18 (with ngpt path) and > ngpt 2.0.1. > > I retried my small apps and same problem occurs. A thread created in a > forked process is not started (it seems to be created because the call > to pthread_create works). > > Do I need to put special initialization code in my program? > > Regards, > -- Frédéric Rouyre http://inter-land.net/~rfr/ PGP/GnuPG Key: 1024D/BE95B39A Fingerprint: 646F 2E4F 5804 BE16 EFB5 2241 EEB4 AFDC BE95 B39A Key available at/Clé disponible sur: www.keyserver.net. Encrypted e-mail preferred/E-mail encrypté préféré.