#include <notepad_commandqueue.h>
Public Member Functions | |
CSemaphore () | |
CSemaphore (gint v) | |
~CSemaphore () | |
void | p () |
void | v () |
bool | try_p () |
void | set (unsigned int n) |
Definition at line 72 of file notepad_commandqueue.h.
notepad::CSemaphore::CSemaphore | ( | ) | [inline] |
Definition at line 75 of file notepad_commandqueue.h.
notepad::CSemaphore::CSemaphore | ( | gint | v | ) | [inline] |
Definition at line 76 of file notepad_commandqueue.h.
00076 :s(v) { m = g_mutex_new(); c = g_cond_new(); };
notepad::CSemaphore::~CSemaphore | ( | ) | [inline] |
Definition at line 77 of file notepad_commandqueue.h.
void notepad::CSemaphore::p | ( | ) | [inline] |
Definition at line 79 of file notepad_commandqueue.h.
Referenced by notepad::CNotepadPages::delete_page(), notepad::CNotepadPages::execRenderPage(), notepad::CNotepadPages::get_page(), and notepad::CNotepadPages::insert_page().
void notepad::CSemaphore::set | ( | unsigned int | n | ) | [inline] |
Definition at line 107 of file notepad_commandqueue.h.
bool notepad::CSemaphore::try_p | ( | ) | [inline] |
Definition at line 95 of file notepad_commandqueue.h.
void notepad::CSemaphore::v | ( | ) | [inline] |
Definition at line 88 of file notepad_commandqueue.h.
Referenced by notepad::CmdQueue::add(), notepad::CNotepadPages::delete_page(), notepad::CNotepadPages::execRenderPage(), notepad::CmdQueue::flush(), notepad::CNotepadPages::insert_page(), and notepad::CmdQueue::stop().