Index of /perry/os/ostep/homework/threads-sema

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[TXT]README.html2021-05-31 14:59 3.8K 
[TXT]README.md2021-03-01 13:09 437  
[TXT]barrier.c2021-03-01 13:09 1.5K 
[TXT]common_threads.h2021-03-01 13:09 1.9K 
[TXT]fork-join.c2021-03-01 13:09 419  
[TXT]mutex-nostarve.c2021-03-01 13:09 595  
[TXT]reader-writer-nostarve.c2021-03-01 13:09 1.5K 
[TXT]reader-writer.c2021-03-01 13:09 1.5K 
[TXT]rendezvous.c2021-03-01 13:09 835  

ostep-homework/threads-sema

Overview

Included in this directory are a number of skeletal code fragments, which you
can fill out to solve various synchronization problems.

And see Allen Downey's book, "A Little Book of Semaphores", for even more
fun. It's also free!

To compile any one of them (say, one called foo.c):

prompt> gcc -o foo foo.c -Wall -pthread

And then, to run it:

prompt> ./foo

(maybe with some optional arguments)