Mercurial > hg > CbC > CbC_xv6
annotate src/interface/CbCProc.h @ 376:718e7398b2c3
define ptable.h
author | anatofuz |
---|---|
date | Tue, 07 Jul 2020 16:41:31 +0900 |
parents | 4a4950e400b8 |
children |
rev | line source |
---|---|
374 | 1 typedef struct CbCProc <Type, Impl> { |
2 __code sched(Impl* cbc_proc, __code next(...)); | |
376 | 3 __code sleep(Impl* cbc_proc, void* chan, struct spinlock* lk, __code next(...)); |
374 | 4 __code sleep1(Impl* cbc_proc, __code next1(...)); |
5 __code wakeup(Impl* cbc_proc, void* chan, __code next1(...)); | |
6 __code wakeup1(Impl* cbc_proc, void* chan, __code next(...)); | |
7 __code next(....); | |
375 | 8 __code next1(...); |
374 | 9 } CbCProc; |