|
join 1.0
lightweight network framework library
|
#include <join/semaphore.hpp>#include <join/thread.hpp>#include <gtest/gtest.h>#include <sys/mman.h>#include <sys/stat.h>#include <fcntl.h>
Functions | |
| TEST (SharedSemaphore, create) | |
| test create. | |
| TEST (SharedSemaphore, wait) | |
| test wait. | |
| TEST (SharedSemaphore, tryWait) | |
| test tryWait. | |
| TEST (SharedSemaphore, timedWait) | |
| test timedWait. | |
| TEST (SharedSemaphore, value) | |
| test value. | |
| int | main (int argc, char **argv) |
| main function. | |
Variables | |
| const std::string | _name = "/test_semaphore" |
| int main | ( | int | argc, |
| char ** | argv ) |
main function.
| TEST | ( | SharedSemaphore | , |
| create | ) |
test create.
| TEST | ( | SharedSemaphore | , |
| timedWait | ) |
test timedWait.
| TEST | ( | SharedSemaphore | , |
| tryWait | ) |
test tryWait.
| TEST | ( | SharedSemaphore | , |
| value | ) |
test value.
| TEST | ( | SharedSemaphore | , |
| wait | ) |
test wait.
| const std::string _name = "/test_semaphore" |