Changeset 40 for nrEngine/src


Ignore:
Timestamp:
08/30/07 00:25:04 (13 years ago)
Author:
art
Message:

Bindings changed to Packages

Location:
nrEngine/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • nrEngine/src/IThread.cpp

    r32 r40  
    5050                NR_Log(Log::LOG_KERNEL, "IThread: Create thread and start it"); 
    5151 
     52                mThread.reset(new boost::thread(boost::bind(&IThread::run, this))); 
    5253                // initialise the attribute 
    5354                /*pthread_attr_init(&mThreadAttr); 
     
    6566                        return; 
    6667                }*/ 
     68                mThreadState = THREAD_RUNNING; 
    6769    
    6870                mThreadState = THREAD_RUNNING; 
  • nrEngine/src/Kernel.cpp

    r30 r40  
    134134                } 
    135135 
    136                 // Now we yield the running thread, so that we get user friendly 
    137                 // thread behaviour. 
     136                // Now we yield the running thread, so that our system could still  
     137                // response 
    138138                IThread::yield(); 
    139139 
Note: See TracChangeset for help on using the changeset viewer.