The Pedigree Project
0.1
|
#include <Ipc.h>
Classes | |
struct | QueuedMessage |
A queued message ready for retrieval. More... | |
Public Member Functions | |
IpcEndpoint (const String &name) | |
Mutex * | pushMessage (IpcMessage *pMessage, bool bAsync) |
IpcMessage * | getMessage (bool bBlock=false) |
const String & | getName () const |
Private Attributes | |
String | m_Name |
List< QueuedMessage * > | m_Queue |
Semaphore | m_QueueSize |
Mutex | m_QueueLock |
Wraps a message queue and links that to a name. This handles blocking and such, reducing the complexity of the Ipc namespace (and reducing the amount of IPC-related code in ring3 APIs).
Definition at line 95 of file system/include/pedigree/kernel/process/Ipc.h.