comparison src/interface/CbCProc.h @ 376:718e7398b2c3

define ptable.h
author anatofuz
date Tue, 07 Jul 2020 16:41:31 +0900
parents 4a4950e400b8
children
comparison
equal deleted inserted replaced
375:4a4950e400b8 376:718e7398b2c3
1 typedef struct CbCProc <Type, Impl> { 1 typedef struct CbCProc <Type, Impl> {
2 __code sched(Impl* cbc_proc, __code next(...)); 2 __code sched(Impl* cbc_proc, __code next(...));
3 __code sleep(Impl* cbc_proc, struct spinlock* lk, __code next(...)); 3 __code sleep(Impl* cbc_proc, void* chan, struct spinlock* lk, __code next(...));
4 __code sleep1(Impl* cbc_proc, __code next1(...)); 4 __code sleep1(Impl* cbc_proc, __code next1(...));
5 __code wakeup(Impl* cbc_proc, void* chan, __code next1(...)); 5 __code wakeup(Impl* cbc_proc, void* chan, __code next1(...));
6 __code wakeup1(Impl* cbc_proc, void* chan, __code next(...)); 6 __code wakeup1(Impl* cbc_proc, void* chan, __code next(...));
7 __code next(....); 7 __code next(....);
8 __code next1(...); 8 __code next1(...);