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