Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/mutex.cfa

    r8dc8f68 red52dd5  
    1212// Created On       : Fri May 25 01:37:11 2018
    1313// Last Modified By : Peter A. Buhr
    14 // Last Modified On : Thu Aug 21 22:35:44 2025
    15 // Update Count     : 4
     14// Last Modified On : Sun Feb 19 17:01:36 2023
     15// Update Count     : 3
    1616//
    1717
     
    131131//-----------------------------------------------------------------------------
    132132// Conditions
    133 void ?{}(cond_lock & this) {
     133void ?{}(condition_variable & this) {
    134134        this.blocked_threads{};
    135135}
    136136
    137 void ^?{}(cond_lock & this) {
     137void ^?{}(condition_variable & this) {
    138138        // default
    139139}
    140140
    141 void notify_one(cond_lock & this) with(this) {
     141void notify_one(condition_variable & this) with(this) {
    142142        lock( lock __cfaabi_dbg_ctx2 );
    143143        unpark(
     
    147147}
    148148
    149 void notify_all(cond_lock & this) with(this) {
     149void notify_all(condition_variable & this) with(this) {
    150150        lock( lock __cfaabi_dbg_ctx2 );
    151151        while(this.blocked_threads) {
     
    157157}
    158158
    159 void wait(cond_lock & this) {
     159void wait(condition_variable & this) {
    160160        lock( this.lock __cfaabi_dbg_ctx2 );
    161161        append( this.blocked_threads, active_thread() );
     
    165165
    166166forall(L & | is_lock(L))
    167 void wait(cond_lock & this, L & l) {
     167void wait(condition_variable & this, L & l) {
    168168        lock( this.lock __cfaabi_dbg_ctx2 );
    169169        append( this.blocked_threads, active_thread() );
Note: See TracChangeset for help on using the changeset viewer.