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.hfa

    r048dde4 re1358c0  
    1010// Author           : Colby Alexander Parsons
    1111// Created On       : Thu Jan 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
     
    214214select_timeout_node __CFA_select_get_type( select_timeout_node this );
    215215
    216 // Gateway routines to waituntil on duration
    217 select_timeout_node timeout( Duration duration );
    218 select_timeout_node sleep( Duration duration );
    219 
     216// Timer macro for waituntil
     217#define _timeout(D) (select_timeout_node) { D, timeout_handler_select_cast }
Note: See TracChangeset for help on using the changeset viewer.