|
Hermes2D
3.0
|
< A monitor used to synchronize thread in views. More...
#include <view_support.h>
Public Member Functions | |
| void | enter () |
| enters protected section | |
| void | leave () |
| leaves protected section | |
| void | signal_keypress () |
| signals keypress inside a protected section | |
| void | wait_keypress () |
| waits for keypress inside a protected section | |
| void | signal_close () |
| signals close inside a protected section | |
| void | wait_close () |
| waits for close inside a protected section | |
| void | signal_drawing_finished () |
| signals drawing finished inside a protected section | |
| void | wait_drawing_fisnihed () |
| waits for drawing finished inside a protected section | |
| void | signal_cross_thread_call () |
| signals that cross-thread-call finished | |
| void | wait_cross_thread_call () |
| waits for finishing of a cross-thread call | |
Protected Attributes | |
| pthread_mutexattr_t | mutex_attr |
| Mutext attributes. | |
| pthread_mutex_t | mutex |
| Mutex that protects monitor. | |
| pthread_cond_t | cond_cross_thread_call |
| Condition used to signal a cross-thread call. | |
| pthread_cond_t | cond_keypress |
| Condition used to signal a keypress. | |
| pthread_cond_t | cond_close |
| Condition used to signal close of a window. | |
| pthread_cond_t | cond_drawing_finished |
| Condition used to signal that drawing has finished. | |
< A monitor used to synchronize thread in views.
Definition at line 34 of file view_support.h.