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 ?
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?
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.
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
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!
Congratulations. I solve meny problens about my ADS curse watching your videos. thanks.
Finally someone explained clearly, simply, fully.
Glad u liked
Explained in a very easy to understand manner. Good video
Thanks brother
Can you give me a realtime example where the spin lock will be used ?
Thanks a lot, very clear explanation.
Glad you liked
Hello Sir, thanks for this video. Could you explain lockdep?
Fabulous explanation Sir.
Thanks
Spinlocks are indeed busy wait but with preemption being enabled if the lock is unavailable
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 ?
Sure will be done..
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?
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.
Please do programing in detail for all the ipcs
Hello sir,
It will be good if you covered semaphore as well
Will do that as a quick video semaphore vs mutex vs spin lock
understands it finally, thanks a lot.
Glad it was useful
Very nicely explained
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
That's a good note..we shall do it shortly. May be within 24 hours you can expect a video
Sir i bought book written by u on IOT is that enought to learn about IOT sir ?
Yes it is
@@ShriramVasudevan thanks sir
Nice explanation
Thanks n glad u liked
so spin lock is indefinte...?
Yes.
Well explained
Thanks
you asked for subscribe. I have subscribed and additionally sending you my respect as well.
Thank you:)
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!
Thank you
Welcome
线程 sleep 了, CPU 此时,能做别的事情吗?
Thanks
Welcome
Nice sirg
👍👍
好啊