Newsgroups: comp.parallel
From: singhal@cs.rochester.edu (Amit Singhal)
Subject: pthreads on Solaris
Organization: University of Rochester Computer Science Dept
Date: 2 Mar 1998 18:43:27 GMT
Message-ID: <6deukf$eme$1@encore.ece.cmu.edu>

Hello,

We are running Solaris 2.5 on a 4-processor UltraSparc II.  We also
have the pthreads library for Solaris in our lab and have used the
same to create a pthreads based multithreaded implementation of a
computation intensive object recognition prgram (written in C).
However, when I run the program all the threads run on 1 CPU and do
not get distributed across the 4 processors.  I checked the pthreads
documentation and it said the pthreads are scheduled based on the
scheduling policy of the OS. 

If anyone can give me any insight on how to get these pthreads to run
on multiple processors, I would be very grateful.

Thanks
Amit Singhal
singhal@cs.rochester.edu
-- 
____________________________________________________________________________

email: singhal@cs.rochester.edu
http: //www.cs.rochester.edu/u/singhal/

--
Articles to parallel@ctc.com (Administrative: bigrigg@cs.cmu.edu)
Archive: http://www.hensa.ac.uk/parallel/internet/usenet/comp.parallel


