- Timestamp:
- May 24, 2012, 9:37:59 PM (13 years ago)
- Location:
- branches/libc-0.6/src/emx
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libc-0.6/src/emx/include/InnoTekLIBC/fork.h
r2786 r3795 412 412 * This is only set when fork() is called from threads other than 1. */ 413 413 int fStackAlloc; 414 /** Pointer to the instruction star intthe return sequence for __fork().414 /** Pointer to the instruction starting the return sequence for __fork(). 415 415 * Pratically speaking, set esp=pvStackRet and jump here. */ 416 416 void *pvForkRet; -
branches/libc-0.6/src/emx/src/lib/sys/libcfork.c
r3049 r3795 343 343 * @param pModule Pointer to the fork module structure for the 344 344 * module which is to registered. 345 * @param fExecutable Indicator that the call origin s from crt0.s and345 * @param fExecutable Indicator that the call originates from crt0.s and 346 346 * the final forking should start. The function 347 347 * will not return if this flag is set and the process … … 652 652 653 653 /* 654 * Determin fxsave/fxrstor support.654 * Determine fxsave/fxrstor support. 655 655 */ 656 656 static int fHaveFXSR = -1; … … 799 799 /* 800 800 * Check if we have an executable in the module list. 801 * It's impossible to pull of a fork without the executable being ready for it!801 * It's impossible to pull off a fork without the executable being ready for it! 802 802 */ 803 803 if (forkParCanFork(pModules)) … … 1059 1059 * will go directly into wait on the mutex. I.e. the event sems are only used 1060 1060 * for accessing the mutex, and the mutex is the semaphore to wait on. This is 1061 * much more reliable than sleeping on event sems, since mutex sems get s1062 * invalidate if an owner dies.1061 * much more reliable than sleeping on event sems, since mutex sems get 1062 * invalidated if an owner dies. 1063 1063 * 1064 1064 * The handle is created with buffer flushing disabled. … … 1233 1233 * child run. 1234 1234 * 1235 * The for buffer will be released before DosExecPgm() so the child can1235 * The fork buffer will be released before DosExecPgm() so the child can 1236 1236 * do init time processing of the DosEx stuff for instance. After DosExecPgm() 1237 1237 * we'll be wait on the event semaphore and subseqently on the mutex till … … 2487 2487 2488 2488 /* 2489 * Res t the buffer.2489 * Reset the buffer. 2490 2490 */ 2491 2491 if (rc >= 0) -
branches/libc-0.6/src/emx/src/lib/sys/sharedpm.c
r3783 r3795 374 374 375 375 /* 376 * Check if we've already registered (we're al lways registred).376 * Check if we've already registered (we're always registered). 377 377 * If we have we'll simply return. 378 378 */ -
branches/libc-0.6/src/emx/src/lib/sys/signals.c
r3102 r3795 876 876 877 877 /* 878 * Can't be to careful!878 * Can't be too careful! 879 879 */ 880 880 LIBC_ASSERTM(!__libc_back_signalSemIsOwner(), "Thread owns the signal semaphore!!! Bad boy!!\n");
Note:
See TracChangeset
for help on using the changeset viewer.