comparison Paper/src/TQueue.h @ 10:7573c185aecf

add impl
author ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
date Tue, 25 Jan 2022 22:27:17 +0900
parents
children f8a089dbfe06
comparison
equal deleted inserted replaced
9:cc4cb64f9af9 10:7573c185aecf
1 typedef struct TQueue<>{
2 union Data* tQueue;
3 union Data* data;
4 struct FileString* string;
5
6 __code whenEmpty(...);
7 __code whenEOF(...);
8 __code clear(Impl* tQueue, __code next(...));
9 __code put(Impl* tQueue, union Data* data, __code next(...));
10 __code take(Impl* tQueue, __code next(union Data* data, ...));
11 __code isEmpty(Impl* tQueue, __code next(...), __code whenEmpty(...));
12
13 __code sendData(Impl* tQueue, union Data* data, __code next(...));
14 __code getData(Impl* tQueue, __code next(...), __code whenEOF(...));
15 __code next(...);
16 } TQueue;