Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LWP's parallel processing on multiprocessor box?

Status
Not open for further replies.

stuf77

Programmer
Jul 20, 2002
5
GB
Hi,

We have a TCP/IP server program that that DOES NOT spawn child processes to deal with client requests, but instead spawns new threads on dedicated lightweight processes (LWP's). It has been ported from Windows, and I am attempting to run this on a Unixware 7 box with multiple processors, and get it parallel processing.

I don't know much about LWP's - is it even possible for a single server process containing multiple LWP's to utilise multiple processors simultaneously?[sadeyes]

Thanks!

Stu
 
The answer to your question (as best as I can figure) is that it will depend on the flavor of unix you're running under. I'm not familiar with UnixWare 7, so I can't answer directly to it.

That being said, just fire off your new threads. If the OS is capable of putting them on different CPUs, it'll do so.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top