Semaphores - Easy implementation in Linux with C

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024

Комментарии • 44

  • @seshadrinm418
    @seshadrinm418 5 лет назад +1

    Please keep doing this teaching! Fantastic work

  • @technologyhunter2460
    @technologyhunter2460 7 лет назад +1

    Well Explained. never knew shared memory can be used as component to prove semaphore's functioning.

  • @ajayjadhav8396
    @ajayjadhav8396 4 года назад +1

    Very nice video which has explained 3 concepts together..Thanks sir. Requesting you to make a video on "Difference between Semaphore & Mutex"..

    • @ShriramVasudevan
      @ShriramVasudevan  4 года назад +2

      Thanks bro. Yes.. you will get a video on semaphore vs mutex shortly. Glad you liked the video.

  • @theWikiNote
    @theWikiNote 5 лет назад +1

    by the nice video and fantastic explanation
    kudos to ur teaching style

    • @ShriramVasudevan
      @ShriramVasudevan  5 лет назад +1

      Thanks and glad you liked.

    • @theWikiNote
      @theWikiNote 5 лет назад

      @@ShriramVasudevan plz do share ur code soft copy with me on mail wikinotefoundation@gmail.com

  • @srinivaspokala333
    @srinivaspokala333 4 года назад

    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.

  • @charishmapadma3802
    @charishmapadma3802 3 года назад

    fantastic sir!!! Thanks a lot!!!

  • @9033500133
    @9033500133 2 года назад +1

    Hi, sir thanks for the explanation. Could you please share the code if possible.

  • @sstech6695
    @sstech6695 7 лет назад

    Lovely comments to get the understanding easier.

  • @learnerrr3373
    @learnerrr3373 7 лет назад +1

    Sir, this is very good. A request. Can you clarify the "Mutex?"

  • @krishnavenin9075
    @krishnavenin9075 7 лет назад

    Simply superb!

  • @tanmaykumar9277
    @tanmaykumar9277 4 года назад

    can you please share the code for handout and for easier understanding

  • @magadhtaxashil8326
    @magadhtaxashil8326 7 лет назад

    Excellent Explanation Sir .

    • @ShriramVasudevan
      @ShriramVasudevan  7 лет назад

      This is encouraging!! Thanks. Let your friends also know about the channel

  • @PursuitOfMastery
    @PursuitOfMastery 4 года назад +1

    “Enter the number of children you want to fork:”

  • @vasudevankrishnamurthy7046
    @vasudevankrishnamurthy7046 7 лет назад

    well constructed

  • @lauraa6188
    @lauraa6188 4 года назад

    Thank you!

  • @Gbeatz
    @Gbeatz 5 лет назад

    great video!

  • @abhijitprasad4740
    @abhijitprasad4740 6 лет назад

    Sir here I AM getting error with IPC_CREATE , SAYING UNDECLARED CAN PLS RESOLVE IT

  • @kiranmallikarjun8618
    @kiranmallikarjun8618 5 лет назад +1

    please share code link sir

  • @விரேவதி
    @விரேவதி 7 лет назад

    Good one.

  • @ananava254
    @ananava254 6 лет назад

    thanks

  • @elguenfo8784
    @elguenfo8784 5 лет назад

    Thx man

  • @mitharaj8654
    @mitharaj8654 7 лет назад +1

    great 😁

  • @yogeshasati6892
    @yogeshasati6892 6 лет назад

    thanks....

  • @rabinarayanpanigrahi3587
    @rabinarayanpanigrahi3587 5 лет назад

    please share code link with this video