Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/alarm.cfa

    reeb5023 re235429  
    4545//=============================================================================================
    4646
    47 void ?{}( alarm_node_t & this, $thread * thrd, Time alarm, Duration period) with( this ) {
     47void ?{}( alarm_node_t & this, $thread * thrd, Time alarm, Duration period ) with( this ) {
    4848        this.thrd = thrd;
    4949        this.alarm = alarm;
    5050        this.period = period;
    5151        set = false;
    52         type = User;
     52        kernel_alarm = false;
    5353}
    5454
     
    5858        this.period = period;
    5959        set = false;
    60         type = Kernel;
    61 }
    62 void ?{}( alarm_node_t & this, $thread * thrd, Time alarm, Duration period, Alarm_Callback callback ) with( this ) {
    63         this.thrd = thrd;
    64         this.alarm = alarm;
    65         this.period = period;
    66         this.callback = callback;
    67         set = false;
    68         type = Callback;
     60        kernel_alarm = true;
    6961}
    7062
Note: See TracChangeset for help on using the changeset viewer.