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.
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.
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
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..
fantastic sir!!! Thanks a lot!!!
Glad u liked it
Hi, sir thanks for the explanation. Could you please share the code if possible.
Thanks. It's in my GIT. @shriramkv
Lovely comments to get the understanding easier.
Sir, this is very good. A request. Can you clarify the "Mutex?"
Pl have a look at my semaphore vs mutex video
Simply superb!
can you please share the code for handout and for easier understanding
Excellent Explanation Sir .
This is encouraging!! Thanks. Let your friends also know about the channel
“Enter the number of children you want to fork:”
Can be done..
well constructed
Thank you!
Glad you liked it Laura! :) Thanks
great video!
Good you liked it. Thank you
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 sir
Good one.
thanks
Thx man
great 😁
Thanks. Hope I fulfilled the requirement.
thanks....
please share code link with this video