Changeset 2224


Ignore:
Timestamp:
Jul 6, 2005, 6:03:22 AM (20 years ago)
Author:
bird
Message:

The default value is -1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/src/lib/sys/__spawnve.c

    • Property cvs2svn:cvs-rev changed from 1.16 to 1.17
    r2223 r2224  
    451451            if (!rc)
    452452            {
    453                 __atomic_cmpxchg32((volatile uint32_t *)(void *)&pEmbryo->pid, (uint32_t)resc.codeTerminate, 0);
     453                __atomic_cmpxchg32((volatile uint32_t *)(void *)&pEmbryo->pid, (uint32_t)resc.codeTerminate, ~0);
    454454                LIBCLOG_MSG("Spawned pid=%04lx (%ld)\n", resc.codeTerminate, resc.codeTerminate);
    455455                __libc_back_processWaitNotifyExec(resc.codeTerminate);
Note: See TracChangeset for help on using the changeset viewer.