#include <paco_omni.h>
Definition at line 39 of file paco_omni.h.
◆ paco_create_condition()
◆ paco_create_mutex()
| paco_mutex * paco_omni_fabrique::paco_create_mutex |
( |
| ) |
|
|
virtual |
◆ paco_create_thread() [1/2]
| paco_thread * paco_omni_fabrique::paco_create_thread |
( |
void *(*)(void *) |
fn, |
|
|
void * |
arg = NULL |
|
) |
| |
|
virtual |
Implements paco_fabrique_thread.
Definition at line 65 of file paco_omni.cc.
69 void (*fn_detached)(
void*) = (
void (*)(
void *))fn;
73 omni_thread::create(fn_detached,arg);
75 catch (omni_thread_fatal &e)
80 cerr <<
"paco_create_thread error : " << e.error << endl;
82 omni_thread::sleep(2);
85 omni_thread::create(fn_detached,arg);
87 catch (omni_thread_fatal &e)
◆ paco_create_thread() [2/2]
| paco_thread * paco_omni_fabrique::paco_create_thread |
( |
void(*)(void *) |
fn, |
|
|
void * |
arg = NULL |
|
) |
| |
|
virtual |
Implements paco_fabrique_thread.
Definition at line 97 of file paco_omni.cc.
101 omni_thread::create(fn,arg);
103 catch (omni_thread_fatal &e)
108 cerr <<
"paco_create_thread error : " << e.error << endl;
110 omni_thread::sleep(2);
113 omni_thread::create(fn,arg);
115 catch (omni_thread_fatal &e)
The documentation for this class was generated from the following files: