- File:
-
- 1 edited
-
src/libcfa/concurrency/monitor.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/monitor.c
r66298de rb8116cd 409 409 short thread_count = 0; 410 410 thread_desc * threads[ count ]; 411 __builtin_memset( threads, 0, sizeof( threads ) ); 411 for(int i = 0; i < count; i++) { 412 threads[i] = 0; 413 } 412 414 413 415 // Save monitor states … … 533 535 short max = count_max( mask ); 534 536 monitor_desc * mon_storage[max]; 535 __builtin_memset( mon_storage, 0, sizeof( mon_storage ) );536 537 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);539 538 540 539 if(actual_count == 0) return;
Note:
See TracChangeset
for help on using the changeset viewer.