The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 03-21-2002
Perderabo's Avatar
Perderabo Perderabo is offline
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,718
The only unix versions that I work with are HP-UX and SunOS. HP-UX has mpctl(2) and SunOS has processor_bind(2). Both of these calls can bind a thread to a processor.

In unix these days, a process is a collection of threads. And so you could bind several threads of a single process to different cpu's thus allowing them to run simultaneously. Both calls have the ability to bind all threads of a particular process to a cpu. When used this way, they are probably very equivalent to your windows function.

I don't know what the deal is with other versions of unix with respect to cpu binding. I would be interested if anyone else can shed more light.