Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions semaphore.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include<sys/ipc.h>
#include<sys/sem.h>
#include<error.h>
//program for semaphore creation
main()
{
int sid,val,val1;
Expand Down