At Fri, 10 Aug 2012 09:15:01 +0200,
Neal H. Walfield wrote:
> > Why does Viengoos in
> > sysdeps/viengoos/pt-thread-halt.c:__pthread_thread_halt have to do
> > different things depending on whether »thread == _pthread_self« or not?
> > I'm assuming that on Mach, we can just always do thread_suspend
Hi, Thomas,
At Fri, 10 Aug 2012 01:17:30 +0200,
Thomas Schwinge wrote:
> libpthread applies some caching of data structures
> (cf. __pthread_free_threads; »state == PTHREAD_TERMINATED«) which after a
> thread has exited can be re-used for a new one.
> ...
> Is this an optimization, assuming the se
Hi!
libpthread applies some caching of data structures
(cf. __pthread_free_threads; »state == PTHREAD_TERMINATED«) which after a
thread has exited can be re-used for a new one. This also applies to
kernel resources (cf. have_kernel_resources), that may also be re-used.
That is, on Mach, instead o