信号槽使用mythread

This commit is contained in:
2025-06-25 11:29:06 +08:00
parent b64401d556
commit 2cfdb4a84f
8 changed files with 43 additions and 101 deletions

2
main.c
View File

@@ -56,7 +56,7 @@ int main(int argc, char* argv[]) {
DBG_INFO("hello world.%ld\n", (size_t)pthread_self());
myth_create(thread_fun, NULL);
myth_create(thread_fun, NULL,"main_thread");
myth_join( );
}