[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Threads vs Processes?

> > What would be more efficient, across platforms (*nix and otherwise),
> > threads or sforked processes?
> >
> sfork is not portable.

Typo. I meant to say

"threads or forked processes?"

> If you're shooting for performance, use pthreads and hope that each
> platform will map it to the most optimal thing.

Would your advice change if I said that the program's main target platform
is Linux and *BSD?

What kind of process / thread performance do we have there?


Thanks for the reply!