MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / SyncImpl

Method SyncImpl

physx/source/foundation/src/unix/PsUnixSync.cpp:85–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83};
84
85SyncImpl::SyncImpl()
86{
87 int status = pthread_mutex_init(&getSync(this)->mutex, 0);
88 PX_ASSERT(!status);
89 status = pthread_cond_init(&getSync(this)->cond, 0);
90 PX_ASSERT(!status);
91 PX_UNUSED(status);
92 getSync(this)->is_set = false;
93 getSync(this)->setCounter = 0;
94}
95
96SyncImpl::~SyncImpl()
97{

Callers

nothing calls this directly

Calls 2

getSyncFunction · 0.85
PX_UNUSEDFunction · 0.85

Tested by

no test coverage detected