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

Functions

 TEST (RecursiveMutex, lock)
 test lock.
 
 TEST (RecursiveMutex, tryLock)
 test tryLock.
 
 TEST (RecursiveMutex, scopedLock)
 test scoped lock.
 
int main (int argc, char **argv)
 main function.
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function.

◆ TEST() [1/3]

TEST ( RecursiveMutex ,
lock  )

test lock.

◆ TEST() [2/3]

TEST ( RecursiveMutex ,
scopedLock  )

test scoped lock.

◆ TEST() [3/3]

TEST ( RecursiveMutex ,
tryLock  )

test tryLock.