From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,2de1b47b5205eba X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!t-online.de!irazu.switch.ch!switch.ch!news.grnet.gr!news.ntua.gr!not-for-mail From: "Ioannis E. Venetis" Newsgroups: comp.unix.tru64 Subject: Re: How to bind a POSIX thread to a specific CPU? Date: Thu, 16 Jun 2005 13:12:59 +0300 Organization: National Technical University of Athens, Greece Message-ID: References: NNTP-Posting-Host: patroclos.hpclab.ceid.upatras.gr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ulysses.noc.ntua.gr 1118916769 64191 150.140.142.225 (16 Jun 2005 10:12:49 GMT) X-Complaints-To: usenet@ulysses.noc.ntua.gr NNTP-Posting-Date: Thu, 16 Jun 2005 10:12:49 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513) X-Accept-Language: en-us, en In-Reply-To: Xref: g2news1.google.com comp.unix.tru64:754 miki.miska@email.si wrote: > Hm, I remember somthing like pthread_set_concurency()... see man page Hello, Thank you for answering, but it seems that pthread_setconcurrency() does not do anything on Tru64 5.1. According to the man page it is there only for Single UNIX Specification, Version 2 source code compatibility and has no other effect when called. Moreover, this function just gives a hint to the threads implementation libary how many kernel-threads (if the implementation uses both kernel and user-level threads) to have concurrently active. It does not specify where each kernel-thread will run. There must be another way. Best regards, Ioannis