Skip to content

Instantly share code, notes, and snippets.

View Sammed98's full-sized avatar

Sammed S Kagi Sammed98

View GitHub Profile
@Sammed98
Sammed98 / 2_16110147_OS_assignment3 .c
Created November 5, 2018 23:50
Reader Writer Lock
/*From
https://sites.google.com/site/itstudentjunction/lab-programming-solutions/data-structures-programs/trees--programs---data-structures/program-for-implementation-of-b-tree-insertion--deletion
*/
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <sys/time.h>
#include <assert.h>
#define M 3