join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
mutex_test.cpp File Reference
#include <join/mutex.hpp>
#include <gtest/gtest.h>
#include <future>
#include <thread>
Include dependency graph for mutex_test.cpp:

Functions

 TEST (Mutex, inheritConstruct)
 test inherit construct.
 
 TEST (Mutex, lock)
 test lock.
 
 TEST (Mutex, tryLock)
 test tryLock.
 
 TEST (Mutex, scopedLock)
 test scoped lock.
 
 TEST (Mutex, handle)
 test handle.
 
int main (int argc, char **argv)
 main function.
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function.

◆ TEST() [1/5]

TEST ( Mutex ,
handle  )

test handle.

◆ TEST() [2/5]

TEST ( Mutex ,
inheritConstruct  )

test inherit construct.

◆ TEST() [3/5]

TEST ( Mutex ,
lock  )

test lock.

◆ TEST() [4/5]

TEST ( Mutex ,
scopedLock  )

test scoped lock.

◆ TEST() [5/5]

TEST ( Mutex ,
tryLock  )

test tryLock.