Further improve ipv4.games server

This commit is contained in:
Justine Tunney 2022-10-03 15:05:33 -07:00
parent 3b4fcd8575
commit 32321ab1e9
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
9 changed files with 307 additions and 113 deletions

View file

@ -29,7 +29,7 @@
*/
int pthread_join(pthread_t thread, void **value_ptr) {
struct PosixThread *pt;
if (thread == __get_tls()->tib_pthread) {
if (thread == pthread_self()) {
return EDEADLK;
}
if (!(pt = (struct PosixThread *)thread) || //