Remove a reference to a non-existent syscall: _thr_exit(). The
actual name is thr_exit(). How this ever worked is beyond me.
This commit is contained in:
parent
d7052481cd
commit
4cdb7f14ed
@ -42,9 +42,6 @@
|
|||||||
|
|
||||||
__weak_reference(_pthread_exit, pthread_exit);
|
__weak_reference(_pthread_exit, pthread_exit);
|
||||||
|
|
||||||
/* thr_exit() */
|
|
||||||
extern int _thr_exit(long *state);
|
|
||||||
|
|
||||||
static void deadlist_free_threads();
|
static void deadlist_free_threads();
|
||||||
|
|
||||||
void
|
void
|
||||||
@ -180,7 +177,7 @@ _pthread_exit(void *status)
|
|||||||
* thread, which we can't be because we've already checked
|
* thread, which we can't be because we've already checked
|
||||||
* for that.
|
* for that.
|
||||||
*/
|
*/
|
||||||
_thr_exit((long *)&curthread->isdead);
|
thr_exit((long *)&curthread->isdead);
|
||||||
|
|
||||||
/* This point should not be reached. */
|
/* This point should not be reached. */
|
||||||
PANIC("Dead thread has resumed");
|
PANIC("Dead thread has resumed");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user