|
join 1.0
lightweight network framework library
|
#include <join/semaphore.hpp>#include <join/thread.hpp>#include <gtest/gtest.h>#include <thread>#include <sys/mman.h>#include <sys/stat.h>#include <fcntl.h>
Classes | |
| class | SharedSemaphoreTest |
| class used to test the shared semaphore. More... | |
Functions | |
| TEST_F (SharedSemaphoreTest, create) | |
| test create. | |
| TEST_F (SharedSemaphoreTest, wait) | |
| test wait. | |
| TEST_F (SharedSemaphoreTest, tryWait) | |
| test tryWait. | |
| TEST_F (SharedSemaphoreTest, timedWait) | |
| test timedWait. | |
| TEST_F (SharedSemaphoreTest, value) | |
| test value. | |
| int | main (int argc, char **argv) |
| main function. | |
| int main | ( | int | argc, |
| char ** | argv ) |
main function.
| TEST_F | ( | SharedSemaphoreTest | , |
| create | ) |
test create.
| TEST_F | ( | SharedSemaphoreTest | , |
| timedWait | ) |
test timedWait.
| TEST_F | ( | SharedSemaphoreTest | , |
| tryWait | ) |
test tryWait.
| TEST_F | ( | SharedSemaphoreTest | , |
| value | ) |
test value.
| TEST_F | ( | SharedSemaphoreTest | , |
| wait | ) |
test wait.