Changeset 3795 for branches/libc-0.6/src


Ignore:
Timestamp:
May 24, 2012, 9:37:59 PM (13 years ago)
Author:
bird
Message:

Comment fixes from Steven. Fixes #258.

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  
    412412     * This is only set when fork() is called from threads other than 1. */
    413413    int                     fStackAlloc;
    414     /** Pointer to the instruction starint the return sequence for __fork().
     414    /** Pointer to the instruction starting the return sequence for __fork().
    415415     * Pratically speaking, set esp=pvStackRet and jump here. */
    416416    void                   *pvForkRet;
  • branches/libc-0.6/src/emx/src/lib/sys/libcfork.c

    r3049 r3795  
    343343 * @param   pModule     Pointer to the fork module structure for the
    344344 *                      module which is to registered.
    345  * @param   fExecutable Indicator that the call origins from crt0.s and
     345 * @param   fExecutable Indicator that the call originates from crt0.s and
    346346 *                      the final forking should start. The function
    347347 *                      will not return if this flag is set and the process
     
    652652
    653653    /*
    654      * Determin fxsave/fxrstor support.
     654     * Determine fxsave/fxrstor support.
    655655     */
    656656    static int fHaveFXSR = -1;
     
    799799    /*
    800800     * 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!
    802802     */
    803803    if (forkParCanFork(pModules))
     
    10591059 * will go directly into wait on the mutex. I.e. the event sems are only used
    10601060 * 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 gets
    1062  * invalidate if an owner dies.
     1061 * much more reliable than sleeping on event sems, since mutex sems get
     1062 * invalidated if an owner dies.
    10631063 *
    10641064 * The handle is created with buffer flushing disabled.
     
    12331233 * child run.
    12341234 *
    1235  * The for buffer will be released before DosExecPgm() so the child can
     1235 * The fork buffer will be released before DosExecPgm() so the child can
    12361236 * do init time processing of the DosEx stuff for instance. After DosExecPgm()
    12371237 * we'll be wait on the event semaphore and subseqently on the mutex till
     
    24872487
    24882488    /*
    2489      * Rest the buffer.
     2489     * Reset the buffer.
    24902490     */
    24912491    if (rc >= 0)
  • branches/libc-0.6/src/emx/src/lib/sys/sharedpm.c

    r3783 r3795  
    374374
    375375    /*
    376      * Check if we've already registered (we're allways registred).
     376     * Check if we've already registered (we're always registered).
    377377     * If we have we'll simply return.
    378378     */
  • branches/libc-0.6/src/emx/src/lib/sys/signals.c

    r3102 r3795  
    876876
    877877    /*
    878      * Can't be to careful!
     878     * Can't be too careful!
    879879     */
    880880    LIBC_ASSERTM(!__libc_back_signalSemIsOwner(), "Thread owns the signal semaphore!!! Bad boy!!\n");
Note: See TracChangeset for help on using the changeset viewer.