Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Recent activity by subhashchaganti
1
answer
1
Binary Semaphore
Say there is a Binary semaphore R, initialized to 0. Say process X and Y are working on R. At T1 :- X has performed P(R); X gets blocked and gets added in Process Queue. At T2 :-Y has performed V(R); Will Process X get unblocked and removed from ready queue? Which process will run after Y has performed V(R)? Process Y or Process X?
Say there is a Binary semaphore R, initialized to 0. Say process X and Y are working on R.At T1 :- X has performed P(R); X gets blocked and gets added in Process Queue.At...
520
views
answer selected
Sep 21, 2022
Operating System
operating-system
binary-semaphore
queue
+
–
2
answers
2
How to assign the address of 2-D array into a pointer variable ?
int B[2][3]; int *p = B; // why this is wrong? int (*p)[3] = B; // why this is correct?
int B [3];int *p = B; // why this is wrong?int (*p)[3] = B; // why this is correct?
845
views
answered
Sep 10, 2022
Programming in C
programming-in-c
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register