From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,2de1b47b5205eba X-Google-Thread: ffc1e,69b1833b43bb21fc,start X-Google-Attributes: gidfa528,gidffc1e,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Loic Domaigne Newsgroups: comp.unix.tru64,comp.programming.threads Subject: Re: How to bind a POSIX thread to a specific CPU? Date: Sun, 19 Jun 2005 21:06:05 +0200 Message-ID: <3hlu0tFhlmgjU1@individual.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net 0/RpsWA80xOkl4rCiTzyAw19xR1ChGgS864cC9fXRdrzYunIEc User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050107 X-Accept-Language: en-us, en In-Reply-To: Xref: g2news1.google.com comp.unix.tru64:756 comp.programming.threads:6900 Hello Ioannis, I have cross-posted to comp.programming.threads, since there are people hanging there known to be proficient in both (POSIX) threads and Tru64. Loic. > I am developing a multithreaded application using POSIX threads and I > would like to bind each thread to a different processor. I found that > there is the pthread_use_only_cpu() function which does what I need, but > it is available only under Tru64 5.1A and later. > > Unfortunately, the system I am using has Tru64 5.1 and this function is > not available. Is there another way to do this? I read some things about > RADs (Resource Affinity Domains), but I am not certain whether they can > be used to achieve what I like to do. To be honest, I am quite confused > about what RADs are and how they are used and I would like to have some > more information about them. Are RADs managed only by administrators? > Can I create RADs from inside my application and bind the threads to > specific processors in a RAD? If so, how is this done? Is there a > pointer to documantation that explains step-by-step the usage of RADs? > Or am I on a totally wrong path to implement binding of threads on > processors? > > Thank you in advance for your help, > > Ioannis