You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-25 15:37:42 +00:00
Handle the case where waitpid returns errno EINTR.
This case indicates that a debugger is attached, and `waitpid` should be called again. Log errors when threads exit with `errno`.
This commit is contained in:
@@ -71,6 +71,9 @@ class OS_Unix : public OS {
|
||||
void _load_iconv();
|
||||
#endif
|
||||
|
||||
static int _wait_for_pid_completion(const pid_t p_pid, int *r_status, int p_options);
|
||||
bool _check_pid_is_running(const pid_t p_pid, int *r_status) const;
|
||||
|
||||
protected:
|
||||
// UNIX only handles the core functions.
|
||||
// inheriting platforms under unix (eg. X11) should handle the rest
|
||||
|
||||
Reference in New Issue
Block a user