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

Functions

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

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function.

◆ TEST() [1/4]

TEST ( Futex ,
handle  )

test handle.

◆ TEST() [2/4]

TEST ( Futex ,
lock  )

test lock.

◆ TEST() [3/4]

TEST ( Futex ,
scopedLock  )

test scoped lock.

◆ TEST() [4/4]

TEST ( Futex ,
tryLock  )

test tryLock.