Search
You can find the results of your search below.
Fulltext results:
- week9
- 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
- ccam-pi Lecture Notes]] * Go demo and starter code: see last week's notes for details * Demo and... ntactically whether channel is for reading from: <code><-chan</code> or writing to: <code>chan<-</code> * To run this program: <code> $ go run sieve.go </code> *
- week3
- - ''$ 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
- //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
- 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
- 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
- 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
- top
- ]]. 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
- week8
- itors in Java ===== * Java case study (starter code for Assign 4) * this version deadlocks! ... * synchronized methods * synchronized code blocks \\ \\ * Obscure Java * shortest co
- zax
- 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>