Julian Elischer wrote: > > Scott Long wrote: > >> >> Does pthreads allow the programmer to name threads in a user and/or >> kernel visible way? Is this something that is really all that >> important? > > > > There is a way, > but it's more important for kernel threads.. it's nice to see which > is which. > Even in user threads (1:1) if one thread is running away, it's nice to > see which one it is. > > We should have an interface on M:N thread sto allow a process to get > thread stats.. probably implemented as > a management thread or something. (maybe the signal thread could do it). > > I will implement pthread_set_name_np for libthr. but I am not sure you should spend precious time on M:N again, it is already very diffcult to introduce a new scheduler with current framework, putting more constrains only reduces chance for such thing.Received on Sat Jan 21 2006 - 00:04:08 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:51 UTC