diff --git a/README.md b/README.md index 34e8de3..6b52b4c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # SEMAPHORE # PROCESS + +a semaphore is a variable or abstract data type used to control access to a common resource by multiple processes in a concurrent system such as a multitasking operating system \ No newline at end of file diff --git a/semaphore.c b/semaphore.c index dd6c655..7246f0c 100644 --- a/semaphore.c +++ b/semaphore.c @@ -3,6 +3,7 @@ #include #include #include +//program for semaphore creation main() { int sid,val,val1;