Basile Starynkevitch http://starynkevitch.net/Basile/ email <ba...@starynkevitch.net>Bourg La Reine, France
Basile,
I think that I wouldn't use the epoll based event loop anywhere but on it's own thread. The poller interface needs a little bit of a redesign, and I think David was doing some work on that at one point in time on a separate branch.
No matter what you try, I would definitely set O_NO_SIGTERM flag when calling onion_new. As you've pointed out, the signal handling code isn't safe.
-- Basile STARYNKEVITCH == http://starynkevitch.net/Basile opinions are mine only - les opinions sont seulement miennes Bourg La Reine, France
On 07/02/2018 04:53 AM, Zachary Grafton wrote:
But my question could be rephrased as: is it wise to re-use libonion's event loop (and its polling thread) for something else (i.e. internal needs of my application)?
--
You received this message because you are subscribed to the Google Groups "onion-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onion-dev+unsubscribe@coralbits.com.
To post to this group, send email to onio...@coralbits.com.
Visit this group at https://groups.google.com/a/coralbits.com/group/onion-dev/.
For more options, visit https://groups.google.com/a/coralbits.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "onion-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to onion-dev+unsubscribe@coralbits.com.
To post to this group, send email to onio...@coralbits.com.
Visit this group at https://groups.google.com/a/coralbits.com/group/onion-dev/.
For more options, visit https://groups.google.com/a/coralbits.com/d/optout.