Re: [dpdk-dev] [PATCH v2 2/2] eal/windows: implement alarm API

2020-10-14 Thread Thomas Monjalon
26/09/2020 01:41, Narcisa Ana Maria Vasile: > On Sat, Sep 26, 2020 at 02:32:43AM +0300, Dmitry Kozlyuk wrote: > > Implementation is based on waitable timers Win32 API. When timer is set, > > a callback and its argument are supplied to the OS, while timer handle > > is stored in EAL alarm list. When

Re: [dpdk-dev] [PATCH v2 2/2] eal/windows: implement alarm API

2020-09-25 Thread Narcisa Ana Maria Vasile
On Sat, Sep 26, 2020 at 02:32:43AM +0300, Dmitry Kozlyuk wrote: > Implementation is based on waitable timers Win32 API. When timer is set, > a callback and its argument are supplied to the OS, while timer handle > is stored in EAL alarm list. When timer expires, OS wakes up the > interrupt thread a

[dpdk-dev] [PATCH v2 2/2] eal/windows: implement alarm API

2020-09-25 Thread Dmitry Kozlyuk
Implementation is based on waitable timers Win32 API. When timer is set, a callback and its argument are supplied to the OS, while timer handle is stored in EAL alarm list. When timer expires, OS wakes up the interrupt thread and runs the callback. Upon completion it removes the alarm. Waitable ti