网站首页
编程语言
数据库
系统相关
其他分享
编程问答
到父
2024-09-09
子进程的输出重定向到父进程
intservice_mgmt_start(structservice_base*service){pthread_mutex_lock(&(sg_service_mgmt.data_lock));//lockif(service->running){pthread_mutex_unlock(&(sg_service_mgmt.data_lock));//unlockreturn0;}