From: Xiao Jia <stfa...@gmail.com>
Date: Fri, 7 Sep 2012 09:31:32 +0800
Local: Thurs, Sep 6 2012 9:31 pm
Subject: Re: [erlang-questions] How to fork/clone a process in Erlang?
Well, this approach can solve much of the problem.
Of course in your example the control flow is cloned as you also loop in
f();
Here the return value of fork() is ignored, so the next steps of both the
2012/9/6 Bengt Kleberg <bengt.kleb...@ericsson.com>
> Greetings,
> Suppose that you have a process running like this:
> You could add a forking like this:
> bengt
> On Thu, 2012-09-06 at 17:02 +0200, Xiao Jia wrote:
> > How can I fork/clone a process in Erlang, just as the fork in Unix?
> > I have searched a lot but just got nothing related to that. I suppose
> > case fork() of
> > Any ideas?
> > Thanks,
> > Xiao Jia
> _______________________________________________
_______________________________________________
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||