Changeset 6d41f66


Ignore:
Timestamp:
Jun 10, 2022, 2:58:52 PM (23 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
Children:
1c56bf7
Parents:
c06551b
Message:

Fixed wait_any to use fulfil rather than post

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/concurrent/futures/wait_any.cfa

    rc06551b r6d41f66  
    4949                }
    5050        for ( i; num_satisfy ) {
    51             post(*futures[shuffle_arr[i]].ptr, true);
     51            fulfil(*futures[shuffle_arr[i]]);
    5252        }
    5353        synchronize();
Note: See TracChangeset for help on using the changeset viewer.