Mitchell Hashimoto
b0aa222e58
libuv: Embed now uses a mutex + cond var
2022-04-29 19:20:47 -07:00
Mitchell Hashimoto
9d77e9e335
kevent properly blocks
...
kevent returns immediately if (1) event list is empty or (2) changelist
is NOT empty. This forces CPU on mac to be very high because this
becomes a hot loop.
2022-04-24 10:22:33 -07:00
Mitchell Hashimoto
724b2aedfa
various fixes for macos
2022-04-24 10:14:25 -07:00
Mitchell Hashimoto
c023fed8f0
compilation for macos works?
2022-04-23 14:15:54 -07:00
Mitchell Hashimoto
63cc2ba4fa
libuv: implement kqueue
2022-04-23 10:31:02 -07:00
Mitchell Hashimoto
87899421bd
don't blink cursor when losing focus
2022-04-22 17:40:37 -07:00
Mitchell Hashimoto
a57f4e76f1
fully integrate libuv, no crash on close
2022-04-22 12:11:53 -07:00
Mitchell Hashimoto
cca32c4d1c
embedded libuv loop. still some issues:
...
1. 100% CPU if no handles/requests
2. slow to exit cause it waits for the next tick
2022-04-22 10:01:52 -07:00