Lines Matching refs:PMHaltWorker
167 class PMHaltWorker : public OSObject
169 OSDeclareDefaultStructors( PMHaltWorker )
179 static PMHaltWorker * worker( void );
181 static void work( PMHaltWorker * me );
182 static void checkTimeout( PMHaltWorker * me, AbsoluteTime * now );
186 OSDefineMetaClassAndStructors( PMHaltWorker, OSObject )
2726 // PMHaltWorker Class
2738 PMHaltWorker * PMHaltWorker::worker( void )
2740 PMHaltWorker * me;
2744 me = OSTypeAlloc( PMHaltWorker );
2752 DEBUG_LOG("PMHaltWorker %p\n", me);
2754 thread = IOCreateThread( &PMHaltWorker::main, me );
2768 void PMHaltWorker::free( void )
2770 DEBUG_LOG("PMHaltWorker free %p\n", this);
2779 void PMHaltWorker::main( void * arg )
2781 PMHaltWorker * me = (PMHaltWorker *) arg;
2790 PMHaltWorker::work( me );
2820 void PMHaltWorker::work( PMHaltWorker * me )
2889 void PMHaltWorker::checkTimeout( PMHaltWorker * me, AbsoluteTime * now )
2927 PMHaltWorker * worker;
2937 worker = (PMHaltWorker *) prop;
2965 PMHaltWorker * workers[kPMHaltMaxWorkers];
2986 while (PMHaltWorker::metaClass->getInstanceCount())
3114 workers[i] = PMHaltWorker::worker();
3134 PMHaltWorker::checkTimeout(workers[i], &now);