I was thinking about creating thread one in my software, but I saw in the forums that Runnable
helped in some way to create a thread , and wanted to understand how it works.
I was thinking about creating thread one in my software, but I saw in the forums that Runnable
helped in some way to create a thread , and wanted to understand how it works.
I do not know anything about Runnable
in C #. This is Java stuff. This class was necessary because of a deficiency in the beginning of the language.
Even the use of raw thread is considered outdated in C #. Of course it can be used, but ideally wherever possible, that is appropriate, and almost always is, prefer to use Task
, which will choose to create / use internal threads , if needed.
If you'd like to dwell on this, take a look at ThreadStart
.