Changeset e84ab3d for libcfa/src/concurrency/alarm.hfa
- Timestamp:
- Jul 5, 2021, 4:44:20 PM (2 years ago)
- Branches:
- ADT, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 7f62b708
- Parents:
- ee23a8d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/alarm.hfa
ree23a8d re84ab3d 25 25 #include "containers/list.hfa" 26 26 27 struct $thread;27 struct thread$; 28 28 struct processor; 29 29 … … 52 52 53 53 union { 54 $thread* thrd; // thrd who created event54 thread$ * thrd; // thrd who created event 55 55 processor * proc; // proc who created event 56 56 Alarm_Callback callback; // callback to handle event … … 63 63 P9_EMBEDDED( alarm_node_t, dlink(alarm_node_t) ) 64 64 65 void ?{}( alarm_node_t & this, $thread* thrd, Duration alarm, Duration period );65 void ?{}( alarm_node_t & this, thread$ * thrd, Duration alarm, Duration period ); 66 66 void ?{}( alarm_node_t & this, processor * proc, Duration alarm, Duration period ); 67 67 void ?{}( alarm_node_t & this, Alarm_Callback callback, Duration alarm, Duration period );
Note: See TracChangeset
for help on using the changeset viewer.