document lumiera_thread_destroy() and lumiera_thread_delete()
This commit is contained in:
parent
ad404bd41a
commit
c4e1fdaf9a
1 changed files with 8 additions and 0 deletions
|
|
@ -142,9 +142,17 @@ lumiera_thread_new (enum lumiera_thread_class kind,
|
||||||
struct nobug_flag* flag,
|
struct nobug_flag* flag,
|
||||||
pthread_attr_t* attrs);
|
pthread_attr_t* attrs);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Destroy and de-initialize a thread structure.
|
||||||
|
* Memory is not freed by this function.
|
||||||
|
*/
|
||||||
LumieraThread
|
LumieraThread
|
||||||
lumiera_thread_destroy (LumieraThread self);
|
lumiera_thread_destroy (LumieraThread self);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Actually free the memory used by the thread structure.
|
||||||
|
* Make sure to destroy the structure first.
|
||||||
|
*/
|
||||||
void
|
void
|
||||||
lumiera_thread_delete (LumieraThread self);
|
lumiera_thread_delete (LumieraThread self);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue