当前位置: 技术问答>linux和unix
定时器编程,alarm clock
来源: 互联网 发布时间:2016-11-28
本文导语: 系统ubuntu,编程环境QT。以下是详细代码,各位帮我看看哪儿错了? increase_event.sigev_notify=SIGEV_THREAD; increase_event._sigev_un._sigev_thread._attribute=&attr; increase_event._sigev_un._sigev_thread._function=IncreaseFunc; if(timer_create(CLOCK_REALTIME,N...