Ignore:
Timestamp:
Mar 11, 2004, 4:05:55 AM (21 years ago)
Author:
bird
Message:

#967: Initial per thread data rewrite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/emx/thread.h

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.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!"
Note: See TracChangeset for help on using the changeset viewer.