mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-04 10:18:31 +00:00
Make improvements
- Improve compatibility with Blink virtual machine - Add non-POSIX APIs for joining threads and signal masks - Never ever use anything except 32-bit integers for atomics - Add some `#undef` statements to workaround `ctags` problems
This commit is contained in:
parent
b46ac13504
commit
f2af97711b
114 changed files with 902 additions and 363 deletions
|
@ -42,6 +42,7 @@ static const struct ContentTypeExtension {
|
|||
{"css", "text/css"}, //
|
||||
{"csv", "text/csv"}, //
|
||||
{"diff", "text/plain"}, //
|
||||
{"diff", "text/plain"}, //
|
||||
{"doc", "application/msword"}, //
|
||||
{"epub", "application/epub+zip"}, //
|
||||
{"gif", "image/gif"}, //
|
||||
|
@ -71,6 +72,7 @@ static const struct ContentTypeExtension {
|
|||
{"ogv", "video/ogg"}, //
|
||||
{"ogx", "application/ogg"}, //
|
||||
{"otf", "font/otf"}, //
|
||||
{"patch", "text/plain"}, //
|
||||
{"pdf", "application/pdf"}, //
|
||||
{"png", "image/png"}, //
|
||||
{"rar", "application/vnd.rar"}, //
|
||||
|
|
|
@ -299,8 +299,8 @@ union TokenBucket {
|
|||
struct Worker {
|
||||
pthread_t th;
|
||||
atomic_int msgcount;
|
||||
atomic_bool shutdown;
|
||||
atomic_bool connected;
|
||||
atomic_int shutdown;
|
||||
atomic_int connected;
|
||||
struct timespec startread;
|
||||
} * g_worker;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue