Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Creating Child without overhead of Parent

by broquaint (Abbot)
on Jun 25, 2004 at 03:59 UTC ( #369546=note: print w/replies, xml ) Need Help??

in reply to Creating Child without overhead of Parent

If you've got an OS supporting Copy-On-Write forking, then the child is unlikely to be very large unless significant changes are made to large data structures etc. In your particular case it would seem simpler just to use a system since you're forking and waiting for the child to return anyway.


  • Comment on Re: Creating Child without overhead of Parent

Replies are listed 'Best First'.
Re^2: Creating Child without overhead of Parent (vfork)
by jeffa (Bishop) on Jun 25, 2004 at 15:29 UTC

    And in the unlikely event that your OS does not support Copy-On-Write (but does support fork ...) then look into the vfork() system call.

    UPDATE: s/threads/fork/ ... silly /me


    (the triplet paradiddle with high-hat)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://369546]
[1nickt]: Ah, you got Linus' fave? With Ubuntu? 4k display?
[1nickt]: ( The 17" monster I just bought is for my wife, who doesn;t leave the house with it...)
[Corion]: 1nickt: No, I'm using it with Windows 10, but with the 4k display, yes. It's a very nice build IMO, and relatively sturdy. Also, it got 8 or 9 on the ifixit repair scale, which I consider good
[Corion]: ... especially as I expect to have to replace the battery set in two or three years' time
[1nickt]: Nice. So happy that Dells are still user-repairable. Unusual these days.
[1nickt]: I will certainly not be buying any more Macs.
[Corion]: 1nickt: Yeah, or at least, I hopoe so ;)

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (12)
As of 2017-03-27 13:10 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (320 votes). Check out past polls.