AREXPORT void ArSystemStatus::invalidate() { ArScopedLock lockc(ourCPUMutex); ArScopedLock lockw(ourWirelessMutex); ourShouldRefreshCPU = true; ourShouldRefreshWireless = true; }
SharedBuffer<Data>::~SharedBuffer() { omni_mutex_lock lockr(this->m_readingMutex); omni_mutex_lock lockw(this->m_writingMutex); assert(this->m_readingBuckets.size() == 0); assert(this->m_writingBucket < 0); delete [] this->m_buffer; #ifdef _RSUNE_ENABLE_SHAREDBUFFER_RECORD_TIME delete [] this->m_bucketTimes; #endif }
void sch$iolockw(void) { // probably wrong? sch$lockw(&ioc$gq_mutex); }