Wiki2
Generic (changes)

Showing changes from revision #3 to #4: Added | Removed | Changed

Generic programming resources

Processes and Threads

http://en.wikipedia.org/wiki/NPTL

Linux verkar använda en 1:1 thread implementation som även OpenBSD har gått över till. Både Linux och OpenBSD har tidigare haft en N:1 modell dvs. många user space trådar i samma process.

http://en.wikipedia.org/wiki/Thread_(computer_science)#Models

Greenlets och goroutines är exempel på user threads (N:1) som implementeras av respektive kompilator.

http://greenlet.readthedocs.org/en/latest/

“A goroutine has a simple model: it is a function executing concurrently with other goroutines in the same address space. It is lightweight, costing little more than the allocation of stack space. And the stacks start small, so they are cheap, and grow by allocating (and freeing) heap storage as required.”

http://golang.org/doc/effective_go.html#goroutines