Changeset 1461 for trunk/src/emx/include/InnoTekLIBC/sharedpm.h
- Timestamp:
- Sep 6, 2004, 6:22:46 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/InnoTekLIBC/sharedpm.h
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r1460 r1461 233 233 /** Pointer to fork handle which a child should use when spawned by fork(). */ 234 234 void *pvForkHandle; 235 /** Creation timestamp. */ 236 unsigned uTimestamp; 235 237 236 238 /** Reserved pool pointer field with default value 0. */ 237 unsigned aReserved[40 - 1 3];239 unsigned aReserved[40 - 14]; 238 240 239 241 /** Number of possible pointers to shared memory starting at pvInherit. … … 243 245 /** Pointer to data inherited from the parent process. */ 244 246 __LIBC_PSPMINHERIT volatile pInherit; 247 /** Pointer to data inherited from the parent process when it's locked. 248 * When locked pInherit is NULL and this member points to the data instead. 249 * This prevents spmAlloc() from reclaiming it while it's in use. */ 250 __LIBC_PSPMINHERIT volatile pInheritLocked; 245 251 } __LIBC_SPMPROCESS, *__LIBC_PSPMPROCESS; 246 252 … … 367 373 368 374 /** 375 * Gets the inherit data associated with the current process. 376 * This call prevents it from being release by underrun handling. 377 * 378 * @returns Pointer to inherit data. 379 * The caller must call __libc_spmInheritRelease() when done. 380 * @returns NULL and errno if no inherit data. 381 */ 382 __LIBC_PSPMINHERIT __libc_spmInheritRequest(void); 383 384 /** 385 * Releases the inherit data locked by the __libc_spmInheritRequest() call. 386 * 387 * @returns 0 on success. 388 * @returns -1 and errno on failure. 389 */ 390 int __libc_spmInheritRelease(void); 391 392 /** 393 * Frees the inherit data of this process. 394 * This is called when the executable is initialized. 395 */ 396 void __libc_spmInheritFree(void); 397 398 /** 369 399 * Create an embryo related to the current process. 370 400 * -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.