When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
8 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
first off - g_can_send should be a sig_atomic_t rather than an int (yes, sig_atomic_t is defined to be an int on most(?) platforms, but still) https://en.cppreference.com/w/c/program/sig_atomic_t
second - your server handler seem to call functions which aren't async safe one can only call async function from a handler or one can block the signal in order to call non async safe functions https://man7.org/linux/man-pages/man7/signal-safety.7.html
seem's weird can it work perfectly fine on ubuntu but just a little bit on macos
i'm not saying thats the root cause of your problem, however - the fact you're breaching your 'API contract' might have something to do with it
ok i will look, thanks
@grave plover Has your question been resolved? If so, type !solved :)
!solved
Thank you and let us know if you have any more questions!
This thread is now set to auto-hide after an hour of inactivity