/OperatingSystems

Solutions to tasks from Operating Systems classes at AGH UST.

Primary LanguageC

OperatingSystems

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)
  • 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 and exec instructions on signal handling settings
  • Transferring signals between programs
  • Pipelining command processing
  • Producer and consumer problem with the use of pipes
  • 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)