mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:37:46 +00:00
Implement basic support for POSIX-style select().
Now we can block on both the PTY *and* the GUI event stream in Terminal.
This commit is contained in:
parent
46181cf023
commit
10387beda7
8 changed files with 164 additions and 30 deletions
|
@ -2,6 +2,9 @@
|
|||
|
||||
extern "C" {
|
||||
|
||||
#define FD_SETSIZE 64
|
||||
struct fd_set { unsigned char bits[FD_SETSIZE / 8]; };
|
||||
|
||||
namespace Unix {
|
||||
|
||||
#define WNOHANG 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue