View Code? Open in Web Editor
NEW
Lab experiments in O.S. course
operating_system_lab's Introduction
Operating System programs in C
- process_tree.c: Create process tree, delete parent nodes and find parent of orphaned process.
- time_shm.c: Determines the amount of time necessary to run a command from the command line using shared memory objects.
- time_pipe.c: Determines the amount of time necessary to run a command from the command line using pipes.
- pid_manager.c: Implement pid manager using bitmap.
- myShell.c: Custom shell on linux.
Exp-03_Custom_System_Call
- userspace.c: Test custom system call added to Linux kernel.
Exp-04_Collatz_Conjecture
- collatz.c: Create child process which applies the collatz conjecture algorithm on a positive integer.
- collatz_thread.c: Create child thread which applies the collatz conjecture algorithm on a positive integer.
- fibonacci.c: Create child thread which calculates first n terms of the fibonacci sequence.
Exp-06_Matrix_Multiplication
- matrix_mul.c: Multiply two matrices using multithreading (POSIX pthreads).
- sched.c: Simulate CPU scheduling algorithms (FCFS, SJF and SRTF)
Exp-08_Synchronization_Problems
- prdcr_cnsmr.c: Producer-Consumer synchronization problem
- din_phil.c: Dining-Philosophers problem
- banker.c: Banker's Algorithm
Exp-10_Contiguous_Memory_Allocation
- cont_mem_alloc.c: Contiguous Memory Allocation for First, Best and Worst fit algorithms
operating_system_lab's People
Contributors
Stargazers
Watchers