Ignore:
Timestamp:
Apr 9, 2018, 2:21:27 PM (4 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, with_gc
Children:
0f56058, ca37445
Parents:
35f730f
Message:

remove cfatime.h, move itimerval constructor to "time", update concurrent examples to use Duration

File:
1 edited

Legend:

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

    r35f730f r8ad6533  
    1010// Created On       : Fri Jun 2 11:31:25 2017
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Apr  4 16:47:29 2018
    13 // Update Count     : 49
     12// Last Modified On : Mon Apr  9 13:36:18 2018
     13// Update Count     : 61
    1414//
    1515
     
    2525#include "kernel_private.h"
    2626#include "preemption.h"
    27 
    28 
    29 static inline void ?{}( itimerval & this, Duration alarm ) with( this ) {
    30         // itimerval.it_value is a duration but uses time data-structure timeval.
    31         it_value{ alarm`s, alarm`us };                                          // seconds, microseconds
    32         it_interval{ 0 };                                                                       // 0 seconds, 0 microseconds
    33 }
    3427
    3528//=============================================================================================
Note: See TracChangeset for help on using the changeset viewer.