Re: [Linuxptp-devel] [Linuxptp-users] one-shot alarm

2016-09-09 Thread Kieran Tyrrell
Hi Richard, Thanks for pointing me towards the timerqueue implementation. That certainly made the job easier. I have modified the PTP module to support the POSIX timer interface, supporting an arbitrary number of timers chained off a single hardware timer as discussed. I have implemented this

Re: [Linuxptp-devel] [Linuxptp-users] one-shot alarm

2016-08-31 Thread Dale Smith
Greetings All, I can understand why the Linux devs thought it was unneeded to add an extra alarm interface to PHC, when the only end result is calling some handler code some random amount of time later. I think (IMHO) that it's far more important to be able to wiggle that alarm output line at the

Re: [Linuxptp-devel] [Linuxptp-users] one-shot alarm

2016-08-31 Thread Richard Cochran
On Wed, Aug 31, 2016 at 11:01:59AM +0100, Kieran Tyrrell wrote: > I started to hack in alarm/timer functionality via an ioctl, but > while getting familiar with the code I decided it wouldn’t be too > much extra work to ‘do it properly’ and implement the alarms using > the posix timer interface (wh

Re: [Linuxptp-devel] [Linuxptp-users] one-shot alarm

2016-08-31 Thread Kieran Tyrrell
Hi Richard, I’m moving this thread to linuxptp-devel, as it’s not really a user question any more… I started to hack in alarm/timer functionality via an ioctl, but while getting familiar with the code I decided it wouldn’t be too much extra work to ‘do it properly’ and implement the alarms usi