Ignore:
Timestamp:
Oct 27, 2022, 11:24:54 AM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master
Children:
63d1ebe, 88ac843e
Parents:
8b74fa7
Message:

Added thread support for migrating between clusters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/thread.hfa

    r8b74fa7 ra167c70c  
    132132
    133133//----------
     134// misc
     135bool migrate( thread$ * thrd, struct cluster & cl );
     136
     137forall( T & | is_thread(T) )
     138static inline bool migrate( T & mutex thrd, struct cluster & cl ) { return migrate( &(thread&)thrd, cl ); }
     139
     140
     141//----------
    134142// prng
    135143static inline {
Note: See TracChangeset for help on using the changeset viewer.