bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fork: mach_port_mod_refs: EKERN_UREFS_OWERFLOW


From: Samuel Thibault
Subject: Re: fork: mach_port_mod_refs: EKERN_UREFS_OWERFLOW
Date: Thu, 8 Sep 2011 19:06:19 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Roland McGrath, le Thu 08 Sep 2011 09:43:58 -0700, a écrit :
> > One patch for the TLS code is below; Samuel please have a look.  (Thou
> > shalt not invoke mach_thread_self needlessly -- or is there a reason?)
> > Unfortunately, this is not all.  I'm continuing.
> 
> Does __mach_thread_self bump the ref count?

Yes.

> I suppose it probably does, in which case extra calls can indeed hurt.

Most probably, yes.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]