onursehitoglu / ossources

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ossources

Introduction

Includes various sample sources for an Introduction to Operating Systems Course, mainly CEng 334 in METU/Ankara.

All examples are tested in Linux, but should work in other Unix-like platforms including BSD, Solaris, MacOs.

Contents

sync/sem Synchronization with semaphore examples. (pthread) sync/cv Synchronization with monitor and condition variables. (pthread) mutualexc Examples about race condition, mutual exclusion, Peterson's alg. Spinlock, etc. ult A simple user level threads example, preemptive and non-preemptive versions

Compilation

Each directory contains a makefile, just run make. No installation.

About

License:MIT License


Languages

Language:JavaScript 96.5%Language:C 2.3%Language:C++ 0.6%Language:HTML 0.4%Language:CSS 0.2%Language:Makefile 0.1%