Thread ID should start from (PID_MAX + 1). David Xu Poul-Henning Kamp wrote: >While investigating a Coverity report (false alarm btw) I noticed >that kern_thread has a lot of code for allocating thread id's. > >This patch uses subr_unit instead. > >I would expect thread create/destroy performance to increase on >systems where there are many threads, and would be interested >if anybody can measure any difference. > >Poul-Henning > >Received on Thu Mar 17 2005 - 08:34:29 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:30 UTC