Mercurial > hg > CbC > CbC_xv6
annotate src/interface/CbCProc.h @ 395:17e8a4bc06a7 default tip
add macOS AR/RANLIB
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 14 Dec 2020 21:59:50 +0900 |
parents | 718e7398b2c3 |
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; |