Path: secnews.netscape.com!rls@netscape.com
From: Rob McCool 
Newsgroups: netscape.devs-nsapi
Subject: Re: Threads and NSAPI
Date: Thu, 19 Dec 1996 13:20:03 -0800

> I'm running an Enterprise Server 2.0 on a HPUX9.3 machine and I have a
> couple of questions that I'm hoping someone can answer.
> 
> 1. What is the difference between configuring the Server to run 1
> process with 20 threads or 2 processes with 10 threads?

Depends on your traffic patterns, the amount of CGIs you execute, and
how many processors your system has. Because of the way the threading
implementation works you may get slightly better response times with
more than one process.

> 2. Do threads behave differently when using the NSAPI instead of CGI?

Not really, is there anything specific you're wondering about?

> 3. Where can I find some examples of the NSAPI systhread* functions?

Unfortunately I don't know of any at the moment, maybe someone else has
one that they can post.

--
Rob McCool, robm@netscape.com http://home.netscape.com/people/robm/
Stunt Programmer, Netscape Communications Corporation
It was working ten minutes ago, I swear...
Reproduced by permission of the author.