Changeset 8632

Show
Ignore:
Timestamp:
01/30/09 19:06:26 (4 years ago)
Author:
ttsou
Message:

thread change

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ossiedev/branches/ttsou/dist/components/_base_/_base_.cpp

    r8630 r8632  
    5858    DEBUG(3, _base_, "start() invoked") 
    5959 
    60     processing_thread = new omni_thread(process_data, (void*) this); 
    61     processing_active = true; 
    62     processing_thread->start(); 
     60    if (!processing_active) { 
     61        processing_thread = new omni_thread(process_data, (void*) this); 
     62        processing_active = true; 
     63        processing_thread->start(); 
     64    } 
    6365} 
    6466