Ignore:
Timestamp:
Oct 10, 2017, 1:33:04 PM (8 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
c386bc1
Parents:
cd034920 (diff), 66298de (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg2:software/cfa/cfa-cc

File:
1 edited

Legend:

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

    rcd034920 r1588ffb6  
    409409        short thread_count = 0;
    410410        thread_desc * threads[ count ];
    411         for(int i = 0; i < count; i++) {
    412                 threads[i] = 0;
    413         }
     411        __builtin_memset( threads, 0, sizeof( threads ) );
    414412
    415413        // Save monitor states
     
    535533        short max = count_max( mask );
    536534        monitor_desc * mon_storage[max];
     535        __builtin_memset( mon_storage, 0, sizeof( mon_storage ) );
    537536        short actual_count = aggregate( mon_storage, mask );
     537
     538        LIB_DEBUG_PRINT_SAFE("Kernel : waitfor %d (s: %d, m: %d)\n", actual_count, mask.size, (short)max);
    538539
    539540        if(actual_count == 0) return;
Note: See TracChangeset for help on using the changeset viewer.