1
Reply

Does anyone know the difference, in practical terms, betweenDifference between Thread.Sleep (10000) and Thread.CurrentThread.Join (10000)?

Gul Md Ershad

Gul Md Ershad

9y
561
0
Reply

    Thread.Sleep() in theory should no stop your application from responding toother Threads, i.e. the main one. Where as Thread.Join().Thread.Join() will ensure that a thread has terminated, in theory, blockingthe call thread indefinatly, until the calling thread terminates.