[LinuxCNC/linuxcnc PR#73] Using POSIX timers instead of clock_nanosleep

未分类 bolang 4个月前 (10-15) 23次浏览

Issue #73 | 状态: 已关闭 | 作者: jepler | 创建时间: 2016-06-16

标签: portability


@trasz I cooked this up because it might be helpful for freebsd. It gets rid of all use of clocknanosleep(CLOCKABSTIME) by instead using POSIX timers. It does use an extension to posix (SIGEVTHREADID) but this identifier is seen in /usr/include/sys/signal.h on the freebsd 9.2 machine I have handy for grepping.


评论 (3)

#1 – jepler 于 2016-08-03

This needs a rebase onto our master branch before it can be merged.


#2 – jepler 于 2017-05-10

I’m happy to revisit this at a future time, but this patch is out of date and I don’t plan to work on it personally at the moment.


#3 – trasz 于 2017-05-10

Meanwhile FreeBSD got clock_nanosleep(), so it might not be required. Thanks anyway :-)


原始Issue: https://github.com/LinuxCNC/linuxcnc/pull/73

喜欢 (0)