Browse code

Prioritize loading image under cursor. Use sleep in background thread. Use nanosleep instead of select for sleeping.

Dario Rodriguez authored on 28/09/2025 11:09:14
Showing 1 changed files
... ...
@@ -3,5 +3,7 @@ void win32pipe_fini(void);
3 3
 int win32pipe_pipe(int fds[2]);
4 4
 int win32pipe_read(int fd, char *buf, int count);
5 5
 int win32pipe_write(int fd, char *buf, int count);
6
+int win32pipe_sleep(int ms); /* does not require calling win32pipe_init()/win32pipe_fini() */
7
+
6 8
 
7 9
 
Browse code

Fix background loading for windows target

Dario Rodriguez authored on 20/04/2025 18:08:53
Showing 1 changed files
... ...
@@ -1,2 +1,7 @@
1
+int win32pipe_init(void);
2
+void win32pipe_fini(void);
3
+int win32pipe_pipe(int fds[2]);
4
+int win32pipe_read(int fd, char *buf, int count);
5
+int win32pipe_write(int fd, char *buf, int count);
6
+
1 7
 
2
-int win32_pipe(int fds[2]);
Browse code

Background loading for windows target

Dario Rodriguez authored on 13/04/2025 15:31:58
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,2 @@
1
+
2
+int win32_pipe(int fds[2]);