|
join 1.0
lightweight network framework library
|
#include <join/thread.hpp>#include <join/futex.hpp>#include <gtest/gtest.h>#include <thread>#include <sys/mman.h>#include <sys/stat.h>#include <fcntl.h>
Functions | |
| TEST (SharedFutex, lock) | |
| test lock. | |
| TEST (SharedFutex, tryLock) | |
| test tryLock. | |
| TEST (SharedFutex, scopedLock) | |
| test scoped lock. | |
| TEST (SharedFutex, handle) | |
| test handle. | |
| int | main (int argc, char **argv) |
| main function. | |
Variables | |
| const std::string | _name = "/test_futex" |
| int main | ( | int | argc, |
| char ** | argv ) |
main function.
| TEST | ( | SharedFutex | , |
| handle | ) |
test handle.
| TEST | ( | SharedFutex | , |
| lock | ) |
test lock.
| TEST | ( | SharedFutex | , |
| scopedLock | ) |
test scoped lock.
| TEST | ( | SharedFutex | , |
| tryLock | ) |
test tryLock.
| const std::string _name = "/test_futex" |