摘要: 源代码: pthread_t tid1, tid2, tid3; extern void *log_test_thread_handler(void *arg); pthread_create(&tid1, NULL, log_test_thread_handler, "xxxxxxx"); pth 阅读全文
posted @ 2022-09-18 17:38 duapple 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 源代码: static void *cmd_exec_thread_handler(void *arg) { pthread_cleanup_push(thread_exit_handler, arg); cmd_base_t *cmd_base = (cmd_base_t *)arg; print 阅读全文
posted @ 2022-09-18 16:06 duapple 阅读(53) 评论(0) 推荐(0) 编辑