Click here to Skip to main content
15,891,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Does anything affect Sleep () Pin
cheesepirate11-May-04 4:54
cheesepirate11-May-04 4:54 
GeneralRe: Does anything affect Sleep () Pin
Jens Doose11-May-04 4:57
Jens Doose11-May-04 4:57 
GeneralRe: Does anything affect Sleep () Pin
toxcct11-May-04 4:59
toxcct11-May-04 4:59 
GeneralRe: Does anything affect Sleep () Pin
Jens Doose11-May-04 5:09
Jens Doose11-May-04 5:09 
GeneralRe: Does anything affect Sleep () Pin
toxcct11-May-04 5:17
toxcct11-May-04 5:17 
GeneralRe: Does anything affect Sleep () Pin
Jens Doose11-May-04 5:23
Jens Doose11-May-04 5:23 
GeneralRe: Does anything affect Sleep () Pin
toxcct11-May-04 5:29
toxcct11-May-04 5:29 
GeneralRe: Does anything affect Sleep () Pin
Jens Doose11-May-04 5:41
Jens Doose11-May-04 5:41 
Well the context of this sentence deals with messages, and if you read a little bit more it reads

Message broadcasts are sent to all windows in the system. If you have a thread that uses Sleep with infinite delay, the system will deadlock

And this one makes sense. Think about a SendMessage call to all windows with no timeout and one of the threads sleeps endlessly. Then the calling process will also hang.

But I don't see this as an evidence that Sleep waits actively.

Jens
GeneralRe: Does anything affect Sleep () Pin
toxcct11-May-04 5:51
toxcct11-May-04 5:51 
GeneralRe: Does anything affect Sleep () Pin
Toby Opferman11-May-04 12:48
Toby Opferman11-May-04 12:48 
GeneralRe: Does anything affect Sleep () Pin
Toby Opferman11-May-04 12:53
Toby Opferman11-May-04 12:53 
GeneralRe: Does anything affect Sleep () Pin
Rafael Fernández López11-May-04 4:50
Rafael Fernández López11-May-04 4:50 
GeneralRe: Does anything affect Sleep () Pin
cheesepirate11-May-04 4:53
cheesepirate11-May-04 4:53 
GeneralCopyFile help! Pin
Ryan McDermott11-May-04 4:34
Ryan McDermott11-May-04 4:34 
GeneralRe: CopyFile help! Pin
Rafael Fernández López11-May-04 4:54
Rafael Fernández López11-May-04 4:54 
GeneralRe: CopyFile help! Pin
Diddy11-May-04 5:51
Diddy11-May-04 5:51 
GeneralRe: CopyFile help! Pin
ThatsAlok3-May-05 22:12
ThatsAlok3-May-05 22:12 
GeneralNeed help on subclassing windows Pin
cnurse11-May-04 3:19
cnurse11-May-04 3:19 
GeneralRe: Need help on subclassing windows Pin
Hesham Amin11-May-04 4:12
Hesham Amin11-May-04 4:12 
GeneralRe: Need help on subclassing windows Pin
cnurse11-May-04 13:53
cnurse11-May-04 13:53 
GeneralList control events Pin
jhorstkamp11-May-04 2:54
jhorstkamp11-May-04 2:54 
GeneralRe: List control events Pin
Monty211-May-04 3:02
Monty211-May-04 3:02 
GeneralRe: List control events Pin
Diddy11-May-04 3:11
Diddy11-May-04 3:11 
GeneralRe: List control events Pin
jhorstkamp11-May-04 8:13
jhorstkamp11-May-04 8:13 
GeneralRe: List control events Pin
Diddy26-May-04 2:46
Diddy26-May-04 2:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.