Re: How to bind a POSIX thread to a specific CPU?

From: Ioannis E. Venetis (iev_at_hpclab.ceid.upatras.gr)
Date: 06/16/05

  • Next message: miki.miska_at_email.si: "Re: How to bind a POSIX thread to a specific CPU?"
    Date: Thu, 16 Jun 2005 13:12:59 +0300
    
    

    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


  • Next message: miki.miska_at_email.si: "Re: How to bind a POSIX thread to a specific CPU?"