Search

You can find the results of your search below.

week9
17 Hits, Last modified:
kdp27TYZs *************/ * Go demo and starter code * copy from Marc's directory into your ''cs377'' course directory: <code> $ cd ~/cs377 $ cd -r /home/mlsmith/cs377-examples/Go ./ </code> * you should see the following files in your local ''Go'' directory: <code> $ ls csp-dining-phils.go deadlock.go sort
week10
12 Hits, Last modified:
ccam-pi Lecture Notes]] * Go demo and starter code: see last week's notes for details * Demo and codewalk of ''csp-dining-philosophers.go'' \\ \\ * Demo and codewalk: Sieve of Eratosthenes (Prime Number Sieve) '... ntactically whether channel is for reading from: <code><-chan</code> or writing to: <code>chan<-</code>
week3
6 Hits, Last modified:
- ''$ cd ~/.ssh'' - then type this command: <code text>$ cat id_rsa.pub >> authorized_keys</code> * for more information about ssh and public key authe... ng your C/UPC programs, add the following to your code <code c> #include <time.h> int main() { clock_t startTime = clock();
week5
6 Hits, Last modified:
//verlagen// ("to decrease") * Definition: <code text> < await (s > 0) s = s - 1; > </code> * signal(s) * Traditional: V(s) * origina... //verhogen// ("to increase") * Definition: <code text> < s = s + 1; > </code> * ''wait(s)'' and ''signal(s)'' work the same for binary and counting (
week7
5 Hits, Last modified:
with monitors: * The One-Lane Bridge problem:<code text> Cars coming from the north and south arrive... but cars heading in opposite directions cannot.</code> * can we find a way to be safe, fair, and ef... itors in Java ===== * Java case study (starter code for Assign 4) * starter code for Assign 4 (for //**after**// the break) * this version deadloc
week11
4 Hits, Last modified:
machine! (or lost patience looking) * sample code: copy from my directory <code text> $ cp -r /home/mlsmith/cs377-examples/rinda/ ~/cs377/ </code> * Assignment 6 * Due Thu, April 23 ... 1.pdf|PDF}} * (version 1 included in sample code) * versions from slides 11 and 12 are the v
week6
3 Hits, Last modified:
pdf|PDF}} * begin: Dining Philosophers * Code walk: Dining UPC Philosophers * Version 1: bu... s * where for binary semaphores s1 and s2: <code text> 0 <= s1+s2 <= 1 </code> * technique: pass the baton **Monitors** * Marc's Lecture Notes
week8
3 Hits, Last modified:
itors in Java ===== * Java case study (starter code for Assign 4) * this version deadlocks! ... * synchronized methods * synchronized code blocks \\ \\ * Obscure Java * shortest co... terns: https://youtu.be/f6kdp27TYZs * Demo and codewalk of csp-dining-philosophers.go * Go langua
top
2 Hits, Last modified:
]]. Since this course is concerned with composing code, the guidelines that apply to writing in general ... ting of computer programs. Copying someone else's code without attribution amounts to plagiarism. So gi
zax
2 Hits, Last modified:
a [[https://youtu.be/dZmZzGxGpSs|clip]] \\ \\ <code> One day, making tracks In the prairie of Prax, ... lt it right over those two stubborn Zax And left them there, standing un-budged in their tracks. </code>
week4
1 Hits, Last modified:
each other to enter their own CS! * hard-coded for a specific number of processes (i.e., 2)! w