Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/kernel_private.h

    r348006f rdb6f06a  
    66// file "LICENCE" distributed with Cforall.
    77//
    8 // kernel_private.h --
     8// threads --
    99//
    1010// Author           : Thierry Delisle
     
    1919
    2020#include "kernel"
    21 #include "thread"
     21#include "threads"
    2222
    2323//-----------------------------------------------------------------------------
    2424// Scheduler
    25 void ScheduleThread( thread_desc * );
    26 thread_desc * nextThread(cluster * this);
     25void ScheduleThread( thread * );
     26thread * nextThread(cluster * this);
    2727
    2828void ScheduleInternal();
    2929void ScheduleInternal(spinlock * lock);
    30 void ScheduleInternal(thread_desc * thrd);
    31 void ScheduleInternal(spinlock * lock, thread_desc * thrd);
     30void ScheduleInternal(thread * thrd);
     31void ScheduleInternal(spinlock * lock, thread * thrd);
    3232
    3333//-----------------------------------------------------------------------------
     
    3535struct processorCtx_t {
    3636        processor * proc;
    37         coroutine_desc c;
     37        coroutine c;
    3838};
    3939
     
    4242void main(processorCtx_t *);
    4343void start(processor * this);
    44 void runThread(processor * this, thread_desc * dst);
     44void runThread(processor * this, thread * dst);
    4545void finishRunning(processor * this);
    4646void spin(processor * this, unsigned int * spin_count);
     
    5353}
    5454
    55 extern void ThreadCtxSwitch(coroutine_desc * src, coroutine_desc * dst);
     55extern void ThreadCtxSwitch(coroutine * src, coroutine * dst);
    5656
    5757#endif //KERNEL_PRIVATE_H
Note: See TracChangeset for help on using the changeset viewer.