implement pthread_[sg]etconcurrency.
authorRich Felker <dalias@aerifal.cx>
Mon, 30 May 2011 15:31:07 +0000 (11:31 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 30 May 2011 15:31:07 +0000 (11:31 -0400)
commitddd87b2f10baf35ed32917bd488be8bf53ad0cc3
treef744f682dfdaaf2ee5cbb8b43d8c5c4403cc27cf
parent11c531e21de9c417166da934898ea7225a758fdf
implement pthread_[sg]etconcurrency.

there is a resource limit of 0 bits to store the concurrency level
requested. thus any positive level exceeds a resource limit, resulting
in EAGAIN. :-)
include/pthread.h
src/thread/pthread_getconcurrency.c [new file with mode: 0644]
src/thread/pthread_setconcurrency.c [new file with mode: 0644]