multithreading - Implement your own Thread in C# -


I was told in today's interview that how do I implement my own formula. As an indication I was told that implication of Runnabal was to consider one thing, and what else?

I was completely stumped but even after doing online research, I still do not know what the answer is, or whether it was a valid question, I am bowing towards the latter.

So my question is:

If you want to write your own implementation of Thread Class in C #, then what do you have to consider?

First of all, runnable probably verb Refers . The task is a representative type that is used to store the reference of a method. You use a thread to tell which method to start.

I hope they only want you to describe how you are;

  • Start a thread with a representative (which is

    • Set the time to work on a worker thread.
    • I use the call for the Task (the new action (....)) For this, it is short and modern.

    I always do the following at the lower level until the instructions for expanding the thread class.


Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -