mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 08:18:30 +00:00
Clean up some code
This commit is contained in:
parent
ec3275179f
commit
285c565051
33 changed files with 122 additions and 382 deletions
|
@ -154,7 +154,7 @@ void *Worker(void *id) {
|
|||
char inbuf[512], outbuf[512], *p, *q;
|
||||
|
||||
// musl libc and cosmopolitan libc support a posix thread extension
|
||||
// that makes thread cancellation work much better your io routines
|
||||
// that makes thread cancelation work much better. your io routines
|
||||
// will just raise ECANCELED so you can check for cancellation with
|
||||
// normal logic rather than needing to push and pop cleanup handler
|
||||
// functions onto the stack, or worse dealing with async interrupts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue