Keywords: fork, variables, if, for
Include: stdio.h sys/types.h unistd.h
Compile: gcc fork.c
Run: ./fork
Keywords: Thread, Runnable, join, sleep
Compile: javac Main.java
Run: java Main
Keywords: ExecutorService, Callable, Future
Compile: javac Main.java
Run: java Main
Keywords: PROC, CHAN, SEQ, PAR, ALT, FOR, !, ?
Connect to linux5: ssh linux5.inf.u-szeged.hu
The linux5 server is only accessible from the Kabinet. From home you should connect to linux.inf.u-szeged.hu first.
Compile: kroc pipesort.occ -lcourse
Run: ./pipesort
Keywords: pvm_spawn, pvm_initsend, pvm_pkint, pvm_send, pvm_recv, pvm_upkint
Connect to linux5: ssh linux5.inf.u-szeged.hu
The linux5 server is only accessible from the Kabinet. From home you should connect to linux.inf.u-szeged.hu first.
Start pvmd: pvm
Compile: cc -g -I$PVM_ROOT/include hello.c -L$PVM_ROOT/lib/LINUXI386 -lpvm3
Run: ./hello
Powered by w3.css