[dpdk-dev] [PATCH v3] alarms: Change alarm cancel function to be thread-safe
Thomas Monjalon
thomas.monjalon at 6wind.com
Mon Nov 24 16:44:36 CET 2014
2014-10-01 11:12, Neil Horman:
> On Wed, Oct 01, 2014 at 03:20:22PM +0100, Pawel Wodkowski wrote:
> > v3:
> > Set rte_errno inside rte_alarm_cancel() to inform caller about canceling result.
> >
> > v2:
> > Eliminate a race between rte_alarm_set() used in context of executing callback
> > function and other threads that use rte_alarm_cancel().
> >
> > Signed-off-by: Pawel Wodkowski <pawelx.wodkowski at intel.com>
[...]
> Much better, thanks!
> Acked-by: Neil Horman <nhorman at tuxdriver.com>
Applied
Thanks
--
Thomas
More information about the dev
mailing list