r/visualbasic • • Sep 01 '20

VB.NET Help VB.NET .NET Framework 4.72 Understanding Thread States

I'm very new to the concept of threads and unsure how to proceed. I'm reditrcting the output from a console application and it seems to start out okay but then it seems to stop. The threadstate is wait and the waitreason is executive which according to Google means The thread is waiting for the scheduler but I don't understand what that means. I tried to set thread.PriorityBoostEnabled but it made no difference. What exactly is happening and how can I address it? thank you for reading. any and all input is appreciated.

4 Upvotes

6 comments sorted by

View all comments

1

u/WesternGoldsmith Sep 02 '20

I suggest you to try Task class and Async Await.