Revision 1218 branches/threaded2merge/src/linad99/adthread.h

adthread.h (revision 1218)
21 21
 // 
22 22
 typedef char * pchar;
23 23
 typedef ofstream * pofstream;
24
 typedef void (*pthreadfun)(void*);
24
 typedef void* (*pthreadfun)(void*);
25 25
 typedef pthreadfun * ppthreadfun;
26 26
 typedef pthread_mutex_t * ppthread_mutex_t;  
27 27
 typedef pthread_cond_t * ppthread_cond_t;
......
52 52
    int num_code;
53 53
    static int old_buffer_flag;
54 54
    int logflag;
55
    static __ADMBTHREAD__ int slave_number;
55
    static __thread int slave_number;
56 56
    adtimer * adt;
57 57
    pofstream * logfiles;
58 58
    ppthreadfun ppf;

Also available in: Unified diff