[OT] This feels wrong (pthreads question)

Steve smorrey at gmail.com
Mon Jan 29 15:19:52 MST 2007


Almost forgot to mention that I'm  using an array of 3 "long long"s
to represent x,y,z.

My multimap based SceneGraph is indexed by the entities position.x
Is there anything I need to be concerned with performance wise here?

Thanks in advance!

On 1/29/07, Daniel C. <dcrookston at gmail.com> wrote:
> On 1/28/07, Dave Smith <dave at thesmithfam.org> wrote:
> > It is *never* a good idea to create a new thread for each user if
> > scalability is a requirement. If you really want to use threads, I would
> > propose a pool of worker threads that can service clients on demand.
>
> Apache does this iirc, and it seems to work fairly well.
>
> Or am I confusing threads and processes?
>
> Dan
>
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */
>



More information about the PLUG mailing list