Skip to content

Commit fbdf9d0

Browse files
committed
Rewrite Windows poll()
We can now await signals, files, pipes, and console simultaneously. This change also gives a deeper review and testing to changes made yesterday.
1 parent cceddd2 commit fbdf9d0

File tree

15 files changed

+426
-192
lines changed

15 files changed

+426
-192
lines changed

examples/spawn_bench.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@ int main(int argc, char *argv[]) {
117117
void *p;
118118
const char *prog;
119119

120+
// if you need the tiny64 program for windows:
121+
//
122+
// make -j o//tool/hello/life-pe.ape
123+
// scp o//tool/hello/life-pe.ape windows:tiny64
124+
//
120125
if (argc <= 1) {
121126
prog = "tiny64";
122127
} else {

libc/calls/internal.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ uint32_t sys_getuid_nt(void);
2626
int __ensurefds_unlocked(int);
2727
void __printfds(struct Fd *, size_t);
2828
int CountConsoleInputBytes(void);
29-
int CountConsoleInputBytesBlocking(uint32_t, sigset_t);
3029
int FlushConsoleInputBytes(void);
3130
int64_t GetConsoleInputHandle(void);
3231
int64_t GetConsoleOutputHandle(void);

0 commit comments

Comments
 (0)