Cloning the functionality of Thread.sleep(…)

2
10



In this video we have tried to clone the functionality of Java’s Thread.sleep(…) with a hope that after learning this, viewers will get a clear understanding of the API works internally.

NOTE: We are not cloning the same way as Java has done it, instead, we have written our own logic to make it behave similar.

Source code for this video can be found in the below GitHub repo:

If you have any further questions, we can discuss in the comment section.

If you have any API in mind which you want us to cover in our future videos, then please do let us know about that API. We will try our best to cover the API soon.

Nguồn:https://wijstaanvooronzegrondrechten.org/

2 COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here