What's Spin Lock? Spin Lock Vs. Mutex.

Here, we can quickly understand what exactly is a spinlock and how is it different from the Mutex.

Пікірлер: 44

  • Жыл бұрын

    Congratulations. I solve meny problens about my ADS curse watching your videos. thanks.

  • @zaidkidwai7831
    @zaidkidwai78312 жыл бұрын

    Explained in a very easy to understand manner. Good video

  • @ShriramVasudevan

    @ShriramVasudevan

    2 жыл бұрын

    Thanks brother

  • @danielianhaik
    @danielianhaik2 жыл бұрын

    Finally someone explained clearly, simply, fully.

  • @ShriramVasudevan

    @ShriramVasudevan

    2 жыл бұрын

    Glad u liked

  • @narenr2235
    @narenr22353 жыл бұрын

    Very nicely explained

  • @nishthasingh6455
    @nishthasingh6455 Жыл бұрын

    Thanks a lot, very clear explanation.

  • @ShriramVasudevan

    @ShriramVasudevan

    Жыл бұрын

    Glad you liked

  • @yamunayafo6455
    @yamunayafo64552 жыл бұрын

    Can you give me a realtime example where the spin lock will be used ?

  • @profdurgahere9007
    @profdurgahere90073 жыл бұрын

    Fabulous explanation Sir.

  • @ShriramVasudevan

    @ShriramVasudevan

    3 жыл бұрын

    Thanks

  • @a096170311525
    @a0961703115253 жыл бұрын

    Nice explanation. Can you please add more details on when exactly one should use spin lock or mutex. And why spinlocks are preferred over mutex in interrupt context ?

  • @ShriramVasudevan

    @ShriramVasudevan

    3 жыл бұрын

    Sure will be done..

  • @shelo1747
    @shelo17472 жыл бұрын

    understands it finally, thanks a lot.

  • @ShriramVasudevan

    @ShriramVasudevan

    2 жыл бұрын

    Glad it was useful

  • @byt4794
    @byt47946 ай бұрын

    Hello Sir, thanks for this video. Could you explain lockdep?

  • @AllAboutBI
    @AllAboutBI3 жыл бұрын

    Well explained

  • @ShriramVasudevan

    @ShriramVasudevan

    3 жыл бұрын

    Thanks

  • @pavanv4115
    @pavanv41153 жыл бұрын

    Please do programing in detail for all the ipcs

  • @shujauddin7313
    @shujauddin73133 жыл бұрын

    Thank you very much.... will you please make video on " Thread Synchronisation Vs Process Synchronisation with an example " ..... I have seen your other videos on process and threads, but this will add more clarity to it..... Eagerly awaiting for your reply

  • @ShriramVasudevan

    @ShriramVasudevan

    3 жыл бұрын

    That's a good note..we shall do it shortly. May be within 24 hours you can expect a video

  • @Sureshdharmoju
    @Sureshdharmoju3 жыл бұрын

    Nice explanation

  • @ShriramVasudevan

    @ShriramVasudevan

    3 жыл бұрын

    Thanks n glad u liked

  • @jankeshchakravarthy9389
    @jankeshchakravarthy93897 ай бұрын

    hi - very nice and clearly explained video. What is test and lock? how it works? What is the assembly instruction equivalent to test and lock in x86 or ARM controller?

  • @MrGeorge1896

    @MrGeorge1896

    6 ай бұрын

    To give a real world example of an x86 code sequence: movb $1, %dl .L8: movl %edx, %eax xchgb Get_Lock(%rip), %al testb %al, %al jne .L8 It is important to know that xchg is an atomic instruction, which can not be interrupted.

  • @fz25-darkrules37
    @fz25-darkrules37 Жыл бұрын

    Thank you

  • @ShriramVasudevan

    @ShriramVasudevan

    Жыл бұрын

    Welcome

  • @sinikishan1408
    @sinikishan14083 жыл бұрын

    Nice sirg

  • @parsishashank
    @parsishashank3 жыл бұрын

    Hello sir, It will be good if you covered semaphore as well

  • @ShriramVasudevan

    @ShriramVasudevan

    3 жыл бұрын

    Will do that as a quick video semaphore vs mutex vs spin lock

  • @someone4860
    @someone48603 жыл бұрын

    you asked for subscribe. I have subscribed and additionally sending you my respect as well.

  • @ShriramVasudevan

    @ShriramVasudevan

    3 жыл бұрын

    Thank you:)

  • @b_01_aditidonode43
    @b_01_aditidonode4321 күн бұрын

    Thanks

  • @ShriramVasudevan

    @ShriramVasudevan

    17 күн бұрын

    Welcome

  • @raghumgh
    @raghumgh2 жыл бұрын

    Spinlocks are indeed busy wait but with preemption being enabled if the lock is unavailable

  • @manojk9874
    @manojk98743 жыл бұрын

    Sir i bought book written by u on IOT is that enought to learn about IOT sir ?

  • @ShriramVasudevan

    @ShriramVasudevan

    3 жыл бұрын

    Yes it is

  • @manojk9874

    @manojk9874

    3 жыл бұрын

    @@ShriramVasudevan thanks sir

  • @sp3519
    @sp35193 жыл бұрын

    👍👍

  • @susmitjaiswal136
    @susmitjaiswal1362 жыл бұрын

    so spin lock is indefinte...?

  • @ShriramVasudevan

    @ShriramVasudevan

    2 жыл бұрын

    Yes.

  • @user-zr1nt3jk4k
    @user-zr1nt3jk4k3 жыл бұрын

    好啊

  • @user-zr1nt3jk4k
    @user-zr1nt3jk4k3 жыл бұрын

    线程 sleep 了, CPU 此时,能做别的事情吗?

  • @sakkamouid3343
    @sakkamouid3343 Жыл бұрын

    I don't like reading a text from google. If you wrote example of little simple programs and discussed them while applying those concepts would be a lot better to explain to people!

Келесі