Threading Start Time

  • Thread starter Thread starter Brian
  • Start date Start date
B

Brian

I'm playing with threads, and am having a problem:

Right now, the thread does absolutely nothing. When my app loads, I
instantiate it with something like:
Dim t1 As New Thread(AddressOf Me.PlayThread)

This is a global. When a function I have tries to do a t1.start(), the app
hangs for about 4 seconds while the thread kicks off. Is this normal? How
can I code this to be more efficient? Right now the playthread doesn't do
anything but sleep, then exit. (Ultimately it does more, of course, but I
wanted to troubleshoot this hang).

Thanks,
Brian
 
Duh, figured it out! Was running it in debug mode -- when out of debug
mode, the thread runs fine...
 
Back
Top