Cesar Ortiz
Cesar Ortiz

Reputation: 932

Timer issues with Poco under ARM Linux

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

Upvotes: 0

Views: 259

Answers (2)

Martin
Martin

Reputation: 5332

A shot in the dark, but could it be that networking isn't up when the callback is called?

Upvotes: 1

Cesar Ortiz
Cesar Ortiz

Reputation: 932

As Martin said, it was a Linux service order issue. Changing "S03MyService" name with "S05MyService", solves my problem. Thanks.

Upvotes: 0

Related Questions