Ignore:
Timestamp:
Aug 13, 2021, 3:58:19 PM (3 years ago)
Author:
caparsons <caparson@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
de52331
Parents:
c9f9d4f
Message:

added mutex stmt monitor

Location:
libcfa/src/concurrency
Files:
2 edited

Legend:

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

    rc9f9d4f r6cebfef  
    367367
    368368        // __cfaabi_dbg_print_safe( "MGUARD : entered\n" );
     369}
     370
     371void ?{}( monitor_guard_t & this, monitor$ * m [], __lock_size_t count ) {
     372        this{ m, count, 0p };
    369373}
    370374
  • libcfa/src/concurrency/monitor.hfa

    rc9f9d4f r6cebfef  
    4848
    4949void ?{}( monitor_guard_t & this, monitor$ ** m, __lock_size_t count, void (*func)() );
     50void ?{}( monitor_guard_t & this, monitor$ ** m, __lock_size_t count );
    5051void ^?{}( monitor_guard_t & this );
    5152
Note: See TracChangeset for help on using the changeset viewer.