]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Insert threads at the end of the free thread list so that
authordeischen <deischen@FreeBSD.org>
Sun, 8 Jun 2003 17:35:11 +0000 (17:35 +0000)
committerdeischen <deischen@FreeBSD.org>
Sun, 8 Jun 2003 17:35:11 +0000 (17:35 +0000)
commit08f5ae21798662f49079405699e6a7a9257175b4
treee2f59ae805fe33406bc26075d32f8eea7414ed07
parent49fd6082dc00a29d428e37d6172c9c7e7ec381af
Insert threads at the end of the free thread list so that
the chance of getting the same thread id when allocating a
new thread is reduced.  This won't work if the application
creates a new thread for every time a thread exits, but
we're still within the allowances of POSIX.
lib/libkse/thread/thr_kern.c
lib/libpthread/thread/thr_kern.c