Skip to the content.

Assignments of CSE-344 / System Programming on POSIX Systems

Homework 1

String replacement with low-level system calls.

Homework 2

Simulating parent-child process relationship. Parent process reads input coordinates from file and forward them for calculations to children processes.

Homework 3

Simulating bakers synchronization problem using named and unnamed semaphores. (inspired by cigarette smokers synchronization problem)

Homework 4

Simulating supplier thread - consumer threads relationship using System V semaphores / semaphore sets.

Using;

Homework 5

Simulating the usage of POSIX threads to parallelize a couple of mathematical tasks.

Midterm Project

Simulating 2 process-pooled servers (Y and Z) executing on the same system as the clients. Which;

Final Project

Simulating a connection system wihch have 3 programs. The servant processes will answer the requests coming from the server through sockets. The client will make requests to the server through sockets, and the server will respond to those requests via the information acquired from the servants. (Using ip address and unique port numbers). It’s not fully implemented due to time restrictions.