Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 15 Feb 2020 18:54:23 +0800 (CST)
From: zuotina <>
Subject: [timer] timer_delete function async problem

Hi everrone

When I created SIGEV_THREAD timer, then start it by timer_settime. like this
the notify callback in the helper thread 'start' will be run when timer expiration.
But when I delete the timer, the notify callback will be run all the same.
This is not what i want. In actual use,  I encountered a problem.

I found that the 'timer_delete' function returns immediately after called.
The timer may not perform the delete action.

In addition, the SIGEV_SIGNAL timer can be deleted after called the function. 
So i think the function has different semantics for different types.

Is there a way to implement synchronously ?

Looking forward to your reply.
Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.