Re: [uCsimm] fork () / vfork ()

From: John Jeffers (
Date: Tue Apr 17 2001 - 09:48:29 EDT

At 03:04 PM 4/16/2001 Monday, you wrote:

Just as a matter of interest I too am stopped dead by fork() to vfork() issues.

vfork() stops the calling process and runs the child in the same process
space. Not exactly a way to multiprocess.

I too am looking for a simple way to multiprocess for resource locking that
is correct. So far all I can find that works is init spawning all the
children which kind of makes the fact that this thing is linux moot. I
would be better off with ecos. Of course I'm sure I've missed something
and someone will direct me to the correct way that works.

Your tool chain probably is the wrong one user space uses the 68k pic coff
chain. But maybe I am wrong.

(go look in the faq's etc. in and the rpms as well).

Cheers John

>I am trying to compile thttpd to the uCsimm (I don't know if this has already
>been done?) and have a number of unresolved references to fork (). I changed
>them to vfork () but this too was unresolved. What do I need to specify to
>link it in?
>I am using the elf tool chain.
>Ian Leonard
>Phone: +44 (0)1865 765273 Fax: +44 (0)1865 765280
>Please ignore spelling and punctuation - I did.
>This message resent by the list server

This message resent by the list server

This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:43 EST