mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
Linux splash window shouldn't block waiting for pipe activity
This commit is contained in:
parent
caf986fa2a
commit
d74f028198
@ -681,11 +681,11 @@ subprocess_run() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
do {
|
while (input_ready) {
|
||||||
// Empty the pipe of whatever is in it.
|
// Empty the pipe of whatever is in it.
|
||||||
receive_command();
|
receive_command();
|
||||||
input_ready = _pipe_read.has_gdata();
|
input_ready = _pipe_read.has_gdata();
|
||||||
} while (input_ready);
|
}
|
||||||
|
|
||||||
// Sleep a good amount in order not to lock up the system.
|
// Sleep a good amount in order not to lock up the system.
|
||||||
struct timespec req;
|
struct timespec req;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user