Problem with PLAYER_MSG
Jan Rose <[email protected]>
| Newsgroups | gmane.science.robotics.playerstage |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm currently writing a driver for player and ran into the following problem. The whole driver works fine until I'm trying to quit it. When I hit STRG+C I get the output: ^CQuitting. closing TCP connection to client 0 on port 6666 closing TCP connection to client 1 on port 6665 closing TCP connection to client 2 on port 6665 but the MainQuit-Function is not called and i have to hit STRG+C a second time to stop the driver. This worked before and I can "enable" and "disable" the MainQuit() Method by uncommenting appearences of PLAYER_MSGX(1, "Message"); in my Main()-loop. The problem only exists with Messages of level 0 and 1 - even if I set the -d parameter of player to a higher level. Any idea what causes the problem? Is PLAYER_MSG not threadsafe and this could cause the problems? Any documentation on the PLAYER_MSG I didn't see? I'm using Player 3.0.1 Bye Jan ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm