view 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
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;