The implementation of either strategy within the NSPR runtime is not difficult. That is not what this memo is about. This is about providing an API that coaxes people to do the right thing in as many ways as possible. But threads are not processes. If threads have to maintain the same type of resource knowledge as a process, they loose all of their benefit.
Threads are an implementation strategy to provide the illusion of concurrency within a process.
They are alternatives to large state machines with mostly non-blocking library functions. Threads are not processes. The Mozilla Organization. Last modified September 20, 2000. Document History .