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