A shot in the dark, but could it be that networking isn't up when the callback is called?
Timer issues with Poco under ARM Linux
-
15-01-2022 - |
Question
I'm using Poco 1.4.4 and Debian Linux for an embebed proyect.
Launching my software from SSH terminal, everything works fine, but when I run it from init.d scripts, booting the system, the Poco Timers hangs but the rest of the programs works fine.
Inside Timer-callback functions, I try to connect to a remote HTTP server that returns me some data.
I am not sure if this is a Poco issue, a Linux one, or an error in my code.
Why launching from SSH everything works and launching from init.d don't work? Do you have any idea? Thanks
Solution
OTHER TIPS
As Martin said, it was a Linux service order issue. Changing "S03MyService" name with "S05MyService", solves my problem. Thanks.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow