Version 2 (modified by 14 years ago) ( diff ) | ,
---|
Esempi con la syscall clone
, specifica di Linux
- Thread senza memoria condivisa source:trunk/threads-isolated.c
- Thread con memoria condivisa source:trunk/threads-shared.c
- Thread con memoria condivisa, mutua esclusione ottenuta con Peterson source:trunk/threads-peterson.c
- Thread con memoria condivisa, mutua esclusione con TSL source:trunk/threads-tsl.c source:trunk/enter.asm
nasm -felf enter.asm cc threads-tsl.c enter.o -o threads-tsl
Esempi in pthreads
- Produttore e consumatore source:trunk/pthreads-pc.c
- Incrementer e watcher source:trunk/pthreads-counter.c
Note:
See TracWiki
for help on using the wiki.