Search

You can find the results of your search below.

csp-dining-phils
5 Hits, Last modified:
g/github.com/thomas11/csp * (last accessed: 4/1/2019) */ package main import ( "fmt" "time" )... an int) room := func() { occupancy := 0 for { select { ca... ) putdown := make([]chan int, 5) for i := 0; i < 5; i++ { pickup[i] = make(chan int) ... / Launch the scenario. go room() for i := 0; i < 5; i++ { go fork(i) } for i
top
2 Hits, Last modified:
~NOTOC~~ **CMPU-377** \\ **Vassar College, Fall 2020** \\ **Syllabus / Course Wiki** \\ ---- // Welcome to our course wiki. It will be updated thro... | ^ Office: | SP 104.5 (teaching fully remote) ... and by appointment// [[https://vassar.zoom.us/j/8904060254?pwd=ZGN2OEdPNEpvMUVFTlphT0xSRk5jQT09|Zoom]
sieve
1 Hits, Last modified:
ver values received from 'src'. if i%prime != 0 { dst <- i // Send 'i' to channel 'dst'.
week7
1 Hits, Last modified:
re for binary semaphores s1 and s2: <code text> 0 <= s1+s2 <= 1 </code> * technique: pass the b... * slides: {{slides.pdf|PDF}} * begin slide 105 \\ \\ **Monitors** * Marc's Lecture Notes: {