mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Reduce build latency and fix old cpu bugs
This commit is contained in:
parent
df8ab0aa0c
commit
533f3d1ef1
69 changed files with 43069 additions and 43683 deletions
3
third_party/quickjs/quickjs-libc.c
vendored
3
third_party/quickjs/quickjs-libc.c
vendored
|
@ -2229,8 +2229,7 @@ static int js_os_poll(JSContext *ctx)
|
|||
struct timeval tv, *tvp;
|
||||
|
||||
/* only check signals in the main thread */
|
||||
if (!ts->recv_pipe &&
|
||||
unlikely(os_pending_signals != 0)) {
|
||||
if (!ts->recv_pipe && UNLIKELY(os_pending_signals != 0)) {
|
||||
JSOSSignalHandler *sh;
|
||||
uint64_t mask;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue