RE: Re: gthread and fork/exec
- From: lingdanmiaoD netscape net
- To: michael ximian com (Michael Meeks)
- Cc: orbit-list gnome org
- Subject: RE: Re: gthread and fork/exec
- Date: Fri, 11 Jan 2002 21:05:44 -0500
Hi, Michael
> The code works fine for me; I get:
>
>Message: In Thread: Iter i = 0 ...
>...
>Message: in Parent
>Message: in child process
>
You do see the testfile in your /tmp. It doesn't show up.
in my testing.
> So ... the code looks fine; what OS are you running on; have you tried
>putting g_thread_yield () in your while loop ?
>
The OS is Red Hat 6.2 for X86 CPU.
> What precicely were you expecting to happen ?
It seems execlp("cmd .........) never get chance to exec.
Thanx
Lin
>
>--
> mmeeks@gnu.org <><, Pseudo Engineer, itinerant idiot
>
>
--
__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/
Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]