Changeset 64bdacc


Ignore:
Timestamp:
Mar 25, 2022, 1:50:40 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
Children:
f5bace8
Parents:
54c1196
Message:

Future now wait for 2p to resolve in available.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/kernel/fwd.hfa

    r54c1196 r64bdacc  
    248248                        // check if the future is available
    249249                        bool available( future_t & this ) {
     250                                while( this.ptr == 2p ) Pause();
    250251                                return this.ptr == 1p;
    251252                        }
Note: See TracChangeset for help on using the changeset viewer.