The Pedigree Project  0.1
Classes | Public Member Functions | Private Attributes | List of all members
Ipc::IpcEndpoint Class Reference

#include <Ipc.h>

+ Collaboration diagram for Ipc::IpcEndpoint:

Classes

struct  QueuedMessage
 A queued message ready for retrieval. More...
 

Public Member Functions

 IpcEndpoint (const String &name)
 
MutexpushMessage (IpcMessage *pMessage, bool bAsync)
 
IpcMessagegetMessage (bool bBlock=false)
 
const StringgetName () const
 

Private Attributes

String m_Name
 
List< QueuedMessage * > m_Queue
 
Semaphore m_QueueSize
 
Mutex m_QueueLock
 

Detailed Description

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.


The documentation for this class was generated from the following files: