Remember me

Lost Password?

Register now!


Who's Online
97 user(s) are online (71 user(s) are browsing Forums)

Members: 3
Guests: 94

orgin, Rob, Deniil, more...

Support us!


« 1 (2)

Re: Amiga programming NOOB question
Just can't stay away
2006/11/30 11:30
From Finland
Posts: 1800

Except for a few rare exceptions it is generally fine to share the library and interface with a child process. Just make sure that you do not close them while the child process is still running.

I'm not sure what you are using the child process for but if it is to stay alive even after the original caller has left then you should not use NP_Child.

The NP_Child tag mainly does two things:
- For newlib programs it ensures that the newly created process is using the same reent data structure as the parent, which means that file descriptors and other clib constructs can be passed between the processes without problem.
- Ensures that the parent process does not exit before the child does.

   Report Go to top

« 1 (2)

[Advanced Search]

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project