-
Notifications
You must be signed in to change notification settings - Fork 7
Home
Alairion edited this page May 30, 2019
·
29 revisions
Welcome on Not Enough Standards' Wiki!
Here, you will find the documentation of the library, and also some examples.
The documentation is organized by file. Each file of the library is a complete set of features. The library is actually composed of the following files:
Header | Features |
---|---|
shared_library.hpp |
Provide a simple interface for shared library loading. i.e. shared objects (.so) and dynamic-link libraries (.dll). |
process.hpp |
Provide an interface for creating processes and modify or get information about the current process. Depends of pipe.hpp . |
semaphore.hpp |
Provide an interface for semaphore and timed semaphore management. A semaphore is a synchronization primitive that use a ressource counter. When trying to acquire a ressource, the calling thread is blocked until a ressource is available. |
pipe.hpp |
Provide standard streambuf and streams for pipe management. Support both anonymous and named pipes (for inter-process communication). A pipe is a data stream between a reader and a writer. For example, the standard output is a pipe where the reader is, in most cases, a display and the writer is the program. |
shared_memory.hpp |
Provide an interface for shared memory creation and mapping. Shared memory is a segment of memory that can be shared among multiple processes, using a literal identifier. |
named_mutex.hpp |
Provide an interface for cross-process mutexes management. It is similar to std::mutex except that it can be shared between multiple processes using its name. It is useful to synchronize shared memory access. |
named_semaphore.hpp |
Provide an interface for named semaphore and timed named semaphore management. As named mutexes, a named semaphore is designed to be shared between multiple processes. |