Solutions to tasks from Operating Systems classes at AGH UST. Tasks refers to Unix OS.
- Allocation of an array with pointers to memory blocks containing an array of pointers (make a library)
- A program that uses the library (made before)
- Tests and measurements (of different types of libraries)
cw02 - IO functions, File system
- Comparison of performance between system and library I/O functions
- Operations on directory structure
- Process Tree
- Parallel matrix multiplication
- Process resources
cw04 - Signals
- Signal handling
- Effect of the
fork
andexec
instructions on signal handling settings - Transferring signals between programs
cw05 - Named and unnamed pipes
- Pipelining command processing
- Producer and consumer problem with the use of pipes
cw06 - IPC - Message queues
- Simple chat
- System V
- POSIX
- Mail order shop using semaphores and shared memory
- System V
- POSIX
cw08 - Threads
- Image color histogram
- The problem of the sleeping barber
cw10 - Sockets
Tic-tac-toe in client/server architecture
- Client - server communication using the streaming protocol (TCP)
- Client - server communication using the datagram protocol (UDP)