Changes in src/libcfa/concurrency/alarm.h [2a84d06d:b69ea6b]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/alarm.h
r2a84d06d rb69ea6b 10 10 // Created On : Fri Jun 2 11:31:25 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Mar 26 16:25:41 201813 // Update Count : 1112 // Last Modified On : Sat Jul 22 09:59:27 2017 13 // Update Count : 3 14 14 // 15 15 … … 21 21 #include <assert.h> 22 22 23 #include " time"23 #include "bits/cfatime.h" 24 24 25 25 struct thread_desc; … … 30 30 //============================================================================================= 31 31 32 Time__kernel_get_time();33 void __kernel_set_timer( Durationalarm );32 __cfa_time_t __kernel_get_time(); 33 void __kernel_set_timer( __cfa_time_t alarm ); 34 34 35 35 //============================================================================================= … … 38 38 39 39 struct alarm_node_t { 40 Time alarm;// time when alarm goes off41 Duration period;// if > 0 => period of alarm40 __cfa_time_t alarm; // time when alarm goes off 41 __cfa_time_t period; // if > 0 => period of alarm 42 42 alarm_node_t * next; // intrusive link list field 43 43 … … 53 53 typedef alarm_node_t ** __alarm_it_t; 54 54 55 void ?{}( alarm_node_t & this, thread_desc * thrd, Time alarm, Duration period);56 void ?{}( alarm_node_t & this, processor * proc, Time alarm, Duration period);55 void ?{}( alarm_node_t & this, thread_desc * thrd, __cfa_time_t alarm = 0`cfa_s, __cfa_time_t period = 0`cfa_s ); 56 void ?{}( alarm_node_t & this, processor * proc, __cfa_time_t alarm = 0`cfa_s, __cfa_time_t period = 0`cfa_s ); 57 57 void ^?{}( alarm_node_t & this ); 58 58
Note:
See TracChangeset
for help on using the changeset viewer.