class SyncObj

Defined at line 24 of file ../../src/zircon/bin/pistress/sync_obj.h

SyncObj is the base class which defines the interface for synchronization

objects (which behave like mutexes) used during profile inheritance stress

testing. During testing, threads will acquire and release chains of these

synchronization objects, lingering inside of them for randomized periods of

time. The purpose is to create a large number of profile inheritance events

which exercise as many difference scenarios as possible.

Public Methods

void Acquire (TestThreadBehavior & behavior)
void Release ()
void SyncObj ()

Defined at line 26 of file ../../src/zircon/bin/pistress/sync_obj.h

void ~SyncObj ()

Defined at line 27 of file ../../src/zircon/bin/pistress/sync_obj.h

void Shutdown ()

Defined at line 30 of file ../../src/zircon/bin/pistress/sync_obj.h

Protected Methods

zx::time GetAcqTimeout (TestThreadBehavior & behavior)

Defined at line 12 of file ../../src/zircon/bin/pistress/sync_obj.cc