Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
140 user(s) are online (135 user(s) are browsing Forums)

Members: 0
Guests: 140

more...

Support us!

Headlines

 
  Register To Post  

« 1 (2)
Re: Amiga programming NOOB question
Just can't stay away
Just can't stay away


See User information
@geennaam

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.

Go to top

  Register To Post
« 1 (2)

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project