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

define ptable.h
author anatofuz
date Tue, 07 Jul 2020 16:41:31 +0900
parents 4a4950e400b8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
374
bbca1e5fb946 add CbCProc
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 typedef struct CbCProc <Type, Impl> {
bbca1e5fb946 add CbCProc
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 __code sched(Impl* cbc_proc, __code next(...));
376
718e7398b2c3 define ptable.h
anatofuz
parents: 375
diff changeset
3 __code sleep(Impl* cbc_proc, void* chan, struct spinlock* lk, __code next(...));
374
bbca1e5fb946 add CbCProc
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 __code sleep1(Impl* cbc_proc, __code next1(...));
bbca1e5fb946 add CbCProc
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 __code wakeup(Impl* cbc_proc, void* chan, __code next1(...));
bbca1e5fb946 add CbCProc
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 __code wakeup1(Impl* cbc_proc, void* chan, __code next(...));
bbca1e5fb946 add CbCProc
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 __code next(....);
375
anatofuz
parents: 374
diff changeset
8 __code next1(...);
374
bbca1e5fb946 add CbCProc
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 } CbCProc;