Hi Shriram sir, your videos are very good for learning, i think in this program we should take shared memory allocation shmget (2nd argument) run time based on no of resource i.e,2nd argument of shmget should be sizeof(int)*(no of resources) .Otherwise let's consider 4 process, 4 resources are there but shared memory in this program is static (4Bytes),all process are trying to access same 4 bytes in the same time ,it leads data corruption.
Please keep doing this teaching! Fantastic work
Well Explained. never knew shared memory can be used as component to prove semaphore's functioning.
by the nice video and fantastic explanation
kudos to ur teaching style
Thanks and glad you liked.
@@ShriramVasudevan plz do share ur code soft copy with me on mail wikinotefoundation@gmail.com
Very nice video which has explained 3 concepts together..Thanks sir. Requesting you to make a video on "Difference between Semaphore & Mutex"..
Thanks bro. Yes.. you will get a video on semaphore vs mutex shortly. Glad you liked the video.
Hi Shriram sir, your videos are very good for learning, i think in this program we should take shared memory allocation shmget (2nd argument) run time based on no of resource i.e,2nd argument of shmget should be sizeof(int)*(no of resources) .Otherwise let's consider 4 process, 4 resources are there but shared memory in this program is static (4Bytes),all process are trying to access same 4 bytes in the same time ,it leads data corruption.
Thanks and great input..
Lovely comments to get the understanding easier.
Hi, sir thanks for the explanation. Could you please share the code if possible.
Thanks. It's in my GIT. @shriramkv
fantastic sir!!! Thanks a lot!!!
Glad u liked it
can you please share the code for handout and for easier understanding
Sir, this is very good. A request. Can you clarify the "Mutex?"
Pl have a look at my semaphore vs mutex video
Simply superb!
“Enter the number of children you want to fork:”
Can be done..
Excellent Explanation Sir .
This is encouraging!! Thanks. Let your friends also know about the channel
please share code link sir
well constructed
great video!
Good you liked it. Thank you
Good one.
Sir here I AM getting error with IPC_CREATE , SAYING UNDECLARED CAN PLS RESOLVE IT
Abhijit Prasad it is IPC_CREAT and not create.
thank you sir , I got it, the video is really useful
please share code link with this video
Thank you!
Glad you liked it Laura! :) Thanks
great 😁
Thanks. Hope I fulfilled the requirement.
Thx man
thanks
thanks....