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

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -