Пример #1
0
// myThreadCode ///////////////////////////////////////////////////////////////
void * myThreadCode (void * param) {
    
    Singleton * theInstance;
    
    theInstance = Singleton::Instance();
    
    
    sleep(1);
    theInstance->increaseShared();
    
    return NULL;
}