Ignore:
File:
1 edited

Legend:

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

    rc81ebf9 rbe3d020  
    212212        ScheduleInternal( locks, count, threads, thread_count );
    213213
    214 
    215214        //WE WOKE UP
    216215
     
    313312        ScheduleInternal( locks, count, &signallee, 1 );
    314313
    315 
    316 
    317 
    318314        LIB_DEBUG_PRINT_SAFE( "Back from signal block\n" );
    319315
     
    334330        );
    335331        return this->blocked.head->user_info;
    336 }
    337 
    338 //-----------------------------------------------------------------------------
    339 // Internal scheduling
    340 void __accept_internal( unsigned short count, __acceptable_t * acceptables, void (*func)(void) ) {
    341         // thread_desc * this = this_thread();
    342 
    343         // unsigned short count = this->current_monitor_count;
    344         // unsigned int recursions[ count ];            //Save the current recursion levels to restore them later
    345         // spinlock *   locks     [ count ];            //We need to pass-in an array of locks to ScheduleInternal
    346 
    347         // lock_all( this->current_monitors, locks, count );
    348 
    349 
    350 
    351 
    352 
    353         // // // Everything is ready to go to sleep
    354         // // ScheduleInternal( locks, count, threads, thread_count );
    355 
    356 
    357         // //WE WOKE UP
    358 
    359 
    360         // //We are back, restore the owners and recursions
    361         // lock_all( locks, count );
    362         // restore_recursion( this->monitors, recursions, count );
    363         // unlock_all( locks, count );
    364332}
    365333
Note: See TracChangeset for help on using the changeset viewer.