Changeset 1457 for trunk/src/emx/include/InnoTekLIBC/sharedpm.h
- Timestamp:
- Sep 5, 2004, 12:56:05 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/InnoTekLIBC/sharedpm.h
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r1456 r1457 206 206 * Every process is in one or another list depending on their state. */ 207 207 struct __libc_SPMProcess *pNext; 208 /** Pointer to the previous process in the list. */ 209 struct __libc_SPMProcess *pPrev; 210 208 211 /** Version of the SPM which created this process. */ 209 212 unsigned uVersion; … … 232 235 233 236 /** Reserved pool pointer field with default value 0. */ 234 unsigned aReserved[40 - 1 2];237 unsigned aReserved[40 - 13]; 235 238 236 239 /** Number of possible pointers to shared memory starting at pvInherit. … … 239 242 unsigned cPoolPointers; 240 243 /** Pointer to data inherited from the parent process. */ 241 __LIBC_PSPMINHERIT 244 __LIBC_PSPMINHERIT volatile pInherit; 242 245 } __LIBC_SPMPROCESS, *__LIBC_PSPMPROCESS; 243 246 … … 313 316 /** Array index by process state giving the head pointers 314 317 * to the processes in that state. */ 315 __LIBC_PSPMPROCESS 318 __LIBC_PSPMPROCESS volatile apHeads[__LIBC_PROCSTATE_MAX]; 316 319 317 320 /** Pointer to the tcpip globals. */ … … 320 323 pid_t pidCreate; 321 324 /** Creation timestamp. */ 322 union325 __extension__ union 323 326 { 324 327 #ifdef INCL_DOSDATETIME … … 334 337 335 338 /** 339 * SPM Exception handler registration record. 340 */ 341 typedef struct __LIBC_SPMXCPTREGREC 342 { 343 __extension__ union 344 { 345 #ifdef INCL_DOSEXCEPTIONS 346 EXCEPTIONREGISTRATIONRECORD Core; 347 #endif 348 void *apv[2]; 349 }; 350 unsigned uFutureStuff0; 351 unsigned uFutureStuff1; 352 } __LIBC_SPMXCPTREGREC; 353 /** Pointer to SPM exception handler registration record. */ 354 typedef __LIBC_SPMXCPTREGREC *__LIBC_PSPMXCPTREGREC; 355 356 357 358 359 /** 336 360 * Gets the current process. 337 361 * … … 402 426 * @returns 0 on success. 403 427 * @returns -1 and errno on failure. 404 * @remark Don't think of calling this if you're not LIBC! 405 */ 406 int __libc_spmLock(void); 428 * @param pRegRec Pointer to the exception handler registration record. 429 * @remark Don't even think of calling this if you're not LIBC! 430 */ 431 int __libc_spmLock(__LIBC_PSPMXCPTREGREC pRegRec); 407 432 408 433 /** … … 410 435 * 411 436 * @returns 0 on success. 412 * @returns 1 on failure. 413 * @remark Don't think of calling this if you're not LIBC! 414 */ 415 int __libc_spmUnlock(void); 437 * @returns -1 on and errno failure. 438 * @param pRegRec Pointer to the exception handler registration record. 439 * @remark Don't even think of calling this if you're not LIBC! 440 */ 441 int __libc_spmUnlock(__LIBC_PSPMXCPTREGREC pRegRec); 416 442 417 443 /** -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.