#include <msg.hpp>
Metody publiczne | |
int | new_mail (mailbox *sender, void *data, size_t size, uint32 flags) |
void | done () |
int | ksend (mailbox *dest, void *data, size_t size, uint32 flags) |
int | kreceive (message **msg) |
int | kreceive (message **msg, mailbox *sender) |
int | count () |
int | free_msg (message *msg) |
Atrybuty publiczne | |
IPC::Lock::lock_t | lock_mail |
struct sem_t | sem_mail |
blist_t volatile | inbox |
Memory::Heap::heapbox * | heap |
struct::Thread::thread_t * | thread |
uint32 | |
Przyjaciele | |
int | allocate_mailbox (mailbox *mbx, struct::Thread::thread_t *owner, Memory::Heap::heapbox *hp) |
Definicja w linii 29 pliku msg.hpp.
void IPC::Message::mailbox::done | ( | ) |
Definicja w linii 103 pliku msg.cpp.
Odwołuje się do inbox, IPC::Lock::lock_t::lock(), lock_mail, sem_destroy() i sem_mail.
Odwołania w Thread::ThreadFinishOff().
int IPC::Message::mailbox::kreceive | ( | message ** | msg | ) |
int IPC::Message::mailbox::count | ( | ) |
int IPC::Message::mailbox::free_msg | ( | message * | msg | ) |
int allocate_mailbox | ( | mailbox * | mbx, | |
struct::Thread::thread_t * | owner, | |||
Memory::Heap::heapbox * | hp | |||
) | [friend] |
struct sem_t IPC::Message::mailbox::sem_mail [read] |
blist_t volatile IPC::Message::mailbox::inbox |