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

Functions

 TEST (RecursiveMutex, inheritConstruct)
 test inherit construct.
 
 TEST (RecursiveMutex, lock)
 test lock.
 
 TEST (RecursiveMutex, tryLock)
 test tryLock.
 
 TEST (RecursiveMutex, scopedLock)
 test scoped lock.
 
 TEST (RecursiveMutex, 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 ( RecursiveMutex ,
handle  )

test handle.

◆ TEST() [2/5]

TEST ( RecursiveMutex ,
inheritConstruct  )

test inherit construct.

◆ TEST() [3/5]

TEST ( RecursiveMutex ,
lock  )

test lock.

◆ TEST() [4/5]

TEST ( RecursiveMutex ,
scopedLock  )

test scoped lock.

◆ TEST() [5/5]

TEST ( RecursiveMutex ,
tryLock  )

test tryLock.