Ignore:
File:
1 edited

Legend:

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

    rcc2eda7 r8ad6533  
    1010// Created On       : Fri Jun 2 11:31:25 2017
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri May 25 06:25:47 2018
    13 // Update Count     : 67
     12// Last Modified On : Mon Apr  9 13:36:18 2018
     13// Update Count     : 61
    1414//
    1515
     
    3737
    3838void __kernel_set_timer( Duration alarm ) {
    39         verifyf(alarm >= 1`us || alarm == 0, "Setting timer to < 1us (%jins)", alarm.tv);
    4039        setitimer( ITIMER_REAL, &(itimerval){ alarm }, NULL );
    4140}
     
    6968}
    7069
    71 #if !defined(NDEBUG) && (defined(__CFA_DEBUG__) || defined(__CFA_VERIFY__))
    72 bool validate( alarm_list_t * this ) {
     70__cfaabi_dbg_debug_do( bool validate( alarm_list_t * this ) {
    7371        alarm_node_t ** it = &this->head;
    7472        while( (*it) ) {
     
    7775
    7876        return it == this->tail;
    79 }
    80 #endif
     77})
    8178
    8279static inline void insert_at( alarm_list_t * this, alarm_node_t * n, __alarm_it_t p ) {
Note: See TracChangeset for help on using the changeset viewer.