예제 #1
0
AREXPORT void ArSystemStatus::invalidate()
{
  ArScopedLock lockc(ourCPUMutex);
  ArScopedLock lockw(ourWirelessMutex);
  ourShouldRefreshCPU = true;
  ourShouldRefreshWireless = true;
}
예제 #2
0
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
}
예제 #3
0
void sch$iolockw(void)
{
    // probably wrong?
    sch$lockw(&ioc$gq_mutex);
}