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

May 05, 2015
545
0

    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.

    Gul Md Ershad
    May 05, 2015
    0