Ignore:
File:
1 edited

Legend:

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

    re1358c0 rb93bf85  
    1010// Author           : Colby Alexander Parsons
    1111// Created On       : Thu Apr 21 19:46:50 2023
    12 // Last Modified By : Kyoung Seo
    13 // Last Modified On : Wed Mar 19 12:00:00 2025
    14 // Update Count     : 1
     12// Last Modified By :
     13// Last Modified On :
     14// Update Count     :
    1515//
    1616
     
    5151bool on_selected( select_timeout_node & this, select_node & node ) { return true; }
    5252
     53// Gateway routine to wait on duration
     54select_timeout_node timeout( Duration duration ) {
     55        select_timeout_node node{ duration, timeout_handler_select_cast };
     56    return node;
     57}
     58select_timeout_node sleep( Duration duration ) { return timeout( duration ); }
     59
Note: See TracChangeset for help on using the changeset viewer.