Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions thread-stub/pthread_create.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,7 @@ weak_alias(dummy_0, __release_ptc);

int __pthread_create(pthread_t *restrict res, const pthread_attr_t *restrict attrp, void *(*entry)(void *), void *restrict arg)
{
/*
"The system lacked the necessary resources to create another thread,
or the system-imposed limit on the total number of threads in a process
{PTHREAD_THREADS_MAX} would be exceeded."
*/
return EAGAIN;
return ENOTSUP;
}

weak_alias(__pthread_create, pthread_create);