信号槽使用mythread
This commit is contained in:
@@ -20,7 +20,7 @@ typedef struct {
|
||||
typedef struct {
|
||||
pthread_mutex_t lock; /* 互斥锁定义 */
|
||||
sem_t sem;
|
||||
pthread_t tid;
|
||||
pthread_t *tid;
|
||||
slot_list_with_pars *slot_head;
|
||||
} mythread_t;
|
||||
|
||||
@@ -41,7 +41,7 @@ typedef struct {
|
||||
|
||||
|
||||
void send_slot_fun(mythread_t* self, slot_list_with_pars* slot_p);
|
||||
mythread_t* sigthread_init();
|
||||
mythread_t* sigthread_init(const char* name);
|
||||
|
||||
void _connect(void* sig_obj, void* sig_fun, mythread_t* thread, void* slot_obj, const char* slot_fun);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user