px4-firmware/platforms/posix
Matthias Grob bda60ecfd6 posix main: hotfix for px4 application not exiting anymore
Some threads do not exit and are still running when
trying to exit SITL running under Windows in Cygwin.

This problem was introduced with:
- posix shell #10173 because of strating a child process
for the startup script and mixing up the signal handling
(only Ctrl+C broken)
- lockstep #10648 because of simulator threads not
stopping gracefully anymore with timing race conditions
(no graceful exit possible anymore)

I leave the SIGINT handler on its default implementation for
Cygwin which kills the process and all its threads when pressing
Ctrl+C.

This hotfix at least allows the usage of Ctrl+C again instead
of forcing the user to use the task manager to shut down
px4.exe going crazy on CPU load instead of exiting
everytime.
2019-01-28 09:38:49 +01:00
..
cmake tests: properly disable shutdown test for Cygwin 2018-12-22 10:32:18 +01:00
include Always use FILE* for standard output. 2018-11-23 12:15:41 +01:00
src posix main: hotfix for px4 application not exiting anymore 2019-01-28 09:38:49 +01:00
CMakeLists.txt create PX4 platform layer initialization helper (#11269) 2019-01-22 14:13:20 -05:00