RflySimSDK v3.05
RflySimSDK说明文档
载入中...
搜索中...
未找到
vrpn_Thread.h 文件参考

Header containing vrpn_Thread, vrpn_Semaphore (formerly in vrpn_Shared.h), as well as a lock-guard class. 更多...

#include "vrpn_Configure.h"
#include <pthread.h>
#include <semaphore.h>
+ vrpn_Thread.h 的引用(Include)关系图:
+ 此图展示该文件被哪些文件直接或间接地引用了:

浏览该文件的源代码.

class  vrpn_Semaphore
 
struct  try_to_lock_t
 
class  SemaphoreGuard
 An RAII lock/guard class for vrpn_Semaphore 更多...
 
struct  vrpn_ThreadData
 
class  vrpn_Thread
 

类型定义

typedef void(* vrpn_THREAD_FUNC) (vrpn_ThreadData &threadData)
 

函数

bool vrpn_test_threads_and_semaphores (void)
 

变量

const try_to_lock_t try_to_lock = {}
 Dummy variable to pass to SemaphoreGuard to indicate we only want a conditional lock.
 

详细描述

Header containing vrpn_Thread, vrpn_Semaphore (formerly in vrpn_Shared.h), as well as a lock-guard class.

Semaphore and Thread classes derived from Hans Weber's classes from UNC. Don't let the existence of a Thread class fool you into thinking that VRPN is thread-safe. This and the Semaphore are included as building blocks towards making your own code thread-safe. They are here to enable the vrpn_Imager_Logger class to do its thing.

日期
2015
作者
Sensics, Inc. http://sensics.com/osvr

变量说明

◆ try_to_lock

const try_to_lock_t try_to_lock = {}

Dummy variable to pass to SemaphoreGuard to indicate we only want a conditional lock.