Changeset 1287 for trunk/src/emx/include
- Timestamp:
- Mar 11, 2004, 4:05:55 AM (21 years ago)
- Location:
- trunk/src/emx/include
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/emx/syscalls.h
-
Property cvs2svn:cvs-rev
changed from
1.8
to1.9
r1286 r1287 136 136 int __dup (int handle); 137 137 int __dup2 (int handle1, int handle2); 138 int __endthread ( int tid);138 int __endthread (void *pvThrd); 139 139 int __execname (char *buf, size_t bufsize); 140 140 void __exit (int ret) __attribute__ ((__noreturn__)); … … 171 171 int __imphandle (int handle); 172 172 int __impsockhandle (int handle, int flags); 173 int __initthread (void *preg);174 173 int __ioctl1 (int handle, int code); 175 174 int __ioctl2 (int handle, unsigned long request, int arg); … … 226 225 int __write (int handle, __const__ void *buf, size_t nbyte); 227 226 228 229 230 227 #if defined (__cplusplus) 231 228 } -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/emx/thread.h
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r1286 r1287 1 /* emx/thread.h (emx+gcc) */ 2 3 #ifndef _EMX_THREAD_H 4 #define _EMX_THREAD_H 5 6 #if defined (__cplusplus) 7 extern "C" { 8 #endif 9 10 #include <time.h> /* struct tm; */ 11 12 struct _uheap; 13 14 struct _thread 15 { 16 int _th_errno; /* comes first, cf. errnofun.s */ 17 void * _th_arg; 18 void (*_th_start)(void *); 19 unsigned char * _th_strtok_ptr; 20 char _th_asctime_buf[26+2]; /* 2 chars for padding */ 21 char _th_tmpnam_buf[16]; /* cf. stdio.h */ 22 struct tm _th_gmtime_buf; 23 unsigned int _th_rand; /* Used by rand() */ 24 void * _th_store; /* Pointer to user data */ 25 char _th_vollabel[12]; /* Used by _getvol() */ 26 char _th_error[28]; /* Used by strerror() */ 27 struct _uheap * _th_rheap; /* Default regular heap */ 28 struct _uheap * _th_theap; /* Default tiled heap */ 29 char _th_ttyname[32]; /* Used by ttyname() */ 30 char _th_inetntoa[16]; /* Used by inetntoa() */ 31 int _th_reserved[974]; /* 4096 bytes, total */ 32 }; 33 34 struct _thread *_thread (void); 35 36 37 #if defined (__cplusplus) 38 } 39 #endif 40 41 #endif /* not _EMX_THREAD_H */ 1 #error "This file is dead. use InnoTekLIBC/thread.h!" -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/emx/umalloc.h
-
Property cvs2svn:cvs-rev
changed from
1.5
to1.6
r1286 r1287 606 606 /* Each thread has its own default heap. */ 607 607 608 #define _UM_DEFAULT_REGULAR_HEAP tp->_th_rheap609 #define _UM_DEFAULT_TILED_HEAP tp->_th_theap610 #define _UM_MT_DECL struct _thread *tp = _thread();608 #define _UM_DEFAULT_REGULAR_HEAP pThrd->pRegularHeap 609 #define _UM_DEFAULT_TILED_HEAP pThrd->pTiledHeap 610 #define _UM_MT_DECL __LIBC_PTHREAD pThrd = __libc_threadCurrent(); 611 611 612 612 /* Note that _um_regular_heap is declared in <umalloc.h>. -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.