mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-27 15:52:28 +00:00
Further improve ipv4.games server
This commit is contained in:
parent
3b4fcd8575
commit
32321ab1e9
9 changed files with 307 additions and 113 deletions
|
@ -36,7 +36,8 @@
|
|||
*/
|
||||
wontreturn void pthread_exit(void *rc) {
|
||||
struct PosixThread *pt;
|
||||
if ((pt = (struct PosixThread *)__get_tls()->tib_pthread)) {
|
||||
pt = (struct PosixThread *)pthread_self();
|
||||
if (pt->status != kPosixThreadMain) {
|
||||
pt->rc = rc;
|
||||
_gclongjmp(pt->exiter, 1);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue