Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/kernel/private.hfa

    r28372f7 r31c967b  
    2020#endif
    2121
    22 #include <signal.h>
    23 
    2422#include "kernel.hfa"
    2523#include "thread.hfa"
     
    5048        #endif
    5149#endif
     50
    5251// #define READYQ_USE_LINEAR_AVG
    5352#define READYQ_USE_LOGDBL_AVG
     
    6463#endif
    6564
    66 extern "C" {
    67         __attribute__((visibility("protected"))) int __cfaabi_pthread_create(pthread_t *_thread, const pthread_attr_t *attr, void *(*start_routine) (void *), void *arg);
    68         __attribute__((visibility("protected"))) int __cfaabi_pthread_join(pthread_t _thread, void **retval);
    69         __attribute__((visibility("protected"))) pthread_t __cfaabi_pthread_self(void);
    70         __attribute__((visibility("protected"))) int __cfaabi_pthread_attr_init(pthread_attr_t *attr);
    71         __attribute__((visibility("protected"))) int __cfaabi_pthread_attr_destroy(pthread_attr_t *attr);
    72         __attribute__((visibility("protected"))) int __cfaabi_pthread_attr_setstack( pthread_attr_t *attr, void *stackaddr, size_t stacksize );
    73         __attribute__((visibility("protected"))) int __cfaabi_pthread_attr_getstacksize( const pthread_attr_t *attr, size_t *stacksize );
    74         __attribute__((visibility("protected"))) int __cfaabi_pthread_sigqueue(pthread_t _thread, int sig, const union sigval value);
    75         __attribute__((visibility("protected"))) int __cfaabi_pthread_sigmask( int how, const sigset_t *set, sigset_t *oset);
    76 }
    77 
    7865//-----------------------------------------------------------------------------
    7966// Scheduler
     
    166153#define TICKET_RUNNING ( 0) // thread is running
    167154#define TICKET_UNBLOCK ( 1) // thread should ignore next block
    168 #define TICKET_DEAD    (0xDEAD) // thread should never be unparked
    169155
    170156//-----------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.