Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set timer from signal callback warning - needs resolution #12

Closed
nhed opened this issue May 4, 2012 · 1 comment
Closed

Set timer from signal callback warning - needs resolution #12

nhed opened this issue May 4, 2012 · 1 comment

Comments

@nhed
Copy link

nhed commented May 4, 2012

In nmathewson/libevent-book/blob/master/Ref4_event.txt under _constructing_signal_events there is a warning about setting timers from signal callback "It might not be supported".

I did a SIMPLE test and did not run into a problem, furthermore it would make sense for this to potentially be a problem in the signal handler itself, rather than the callback. I assume that the callback should be executing in the event-loop context and thus should be okay. In either case, IMO this should either go away or become more definitive, i.e. list cases, environments where it is not supported.

Thanks
-Nevo

@azat
Copy link
Member

azat commented Feb 18, 2024

Yes, everything should work, see referenced PR

@azat azat closed this as completed in 5e1590d Feb 18, 2024
azat added a commit to libevent/libevent that referenced this issue Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants