| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | spawn(P_NOWAIT..) / wait()??? |
PC> "When the new process terminates, SIGCLD is raised in the process which PC> started that process. You should use wait() or waitpid() to get the MK> When you receive the signal SIGCLD, call wait(), which will return MK> immediately (since the child has already terminated). If you don't MK> need the return code, throw it away and continue. MK> You might consider using DosExecPgm and/or DosStartSession instead if MK> you don't want to bother with SIGCLD. Thanks. Until I get the DDK or the OS/2 programmer's toolkit I can't use any Dos* API's, as I have no docs for them. :-( I'm currently starting a thread that call's wait(), and it seems to be working fine for the present. :-) Phil --- Blue Wave/Max v2.20m OS2 Beta* Origin: Crown Point (1:124/6108.2) SEEN-BY: 105/42 620/243 624/50 711/401 409 410 413 430 807 808 809 934 955 SEEN-BY: 712/407 515 628 704 713/888 800/1 7877/2809 @PATH: 124/6108 1014 1 396/1 3615/50 105/103 42 712/515 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.