Ignore:
File:
1 edited

Legend:

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

    r66298de rb8116cd  
    409409        short thread_count = 0;
    410410        thread_desc * threads[ count ];
    411         __builtin_memset( threads, 0, sizeof( threads ) );
     411        for(int i = 0; i < count; i++) {
     412                threads[i] = 0;
     413        }
    412414
    413415        // Save monitor states
     
    533535        short max = count_max( mask );
    534536        monitor_desc * mon_storage[max];
    535         __builtin_memset( mon_storage, 0, sizeof( mon_storage ) );
    536537        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);
    539538
    540539        if(actual_count == 0) return;
Note: See TracChangeset for help on using the changeset viewer.