Ignore:
Timestamp:
Aug 21, 2025, 11:14:05 PM (5 weeks ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
31be464
Parents:
1324fde
Message:

change type name condition_variable to cond_lock

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/concurrency/unified_locking/timeout_lock.cfa

    r1324fde r8dc8f68  
    77
    88multiple_acquisition_lock m, n;
    9 condition_variable( multiple_acquisition_lock ) c_m, c_n;
     9cond_lock( multiple_acquisition_lock ) c_m, c_n;
    1010
    1111const unsigned int NoOfTimes = 20;
     
    7373        processor p[2];
    7474        printf("Start Test 1: surface testing condition variable timeout routines\n");
    75         wait( c_m, 1`ns );                                                                                                              // bool wait( condition_variable(L) & this, Duration duration );
    76         wait( c_m, 10, 1`ns );                                                                                                  // bool wait( condition_variable(L) & this, uintptr_t info, Duration duration );
    77         lock(m); wait( c_m, m, 1`ns ); unlock(m);                                                               // bool wait( condition_variable(L) & this, L & l, Duration duration );
    78         lock(m); wait( c_m, m, 10, 1`ns ); unlock(m);                                                   // bool wait( condition_variable(L) & this, L & l, uintptr_t info, Duration duration );
     75        wait( c_m, 1`ns );                                                                                                              // bool wait( cond_lock(L) & this, Duration duration );
     76        wait( c_m, 10, 1`ns );                                                                                                  // bool wait( cond_lock(L) & this, uintptr_t info, Duration duration );
     77        lock(m); wait( c_m, m, 1`ns ); unlock(m);                                                               // bool wait( cond_lock(L) & this, L & l, Duration duration );
     78        lock(m); wait( c_m, m, 10, 1`ns ); unlock(m);                                                   // bool wait( cond_lock(L) & this, L & l, uintptr_t info, Duration duration );
    7979        printf("Done Test 1\n");
    8080
Note: See TracChangeset for help on using the changeset viewer.