[Top][All Lists]

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

Re: Many questions, mostly about mach-defpager

From: Samuel Thibault
Subject: Re: Many questions, mostly about mach-defpager
Date: Tue, 8 May 2012 20:29:20 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Thomas Thomas, le Mon 30 Apr 2012 16:30:00 -0700, a écrit :
> Nextly, it uses cthread_data to store a pointer to a thread-specific buffer
> that it uses in paging. As I see it: all threads are created when the pager
> starts up, and no threads are created afterward. Thus, I could achieve the
> same result by using a hash to map between the thread handles and the
> buffer pointers. Would this be a good idea/efficient? Mainly, I just want
> your thoughts.

But why doing that?  It'd be simpler to just use a __thread variable.


reply via email to

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