Ignore:
Timestamp:
Mar 19, 2025, 1:34:12 PM (5 days ago)
Author:
kyoung <lseo@…>
Branches:
master
Children:
fd3be42
Parents:
048dde4
git-author:
kyoung <lseo@…> (03/19/25 12:01:52)
git-committer:
kyoung <lseo@…> (03/19/25 13:34:12)
Message:

create waituntil timeout node as literal via macro as a workaround for upcoming change in dlist copy ctor/raii changes

File:
1 edited

Legend:

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

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