Click here to Skip to main content
15,886,199 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralChart Control !! Pin
Rafael Fernández López11-May-04 4:47
Rafael Fernández López11-May-04 4:47 
GeneralRe: Chart Control !! Pin
Ravi Bhavnani11-May-04 6:49
professionalRavi Bhavnani11-May-04 6:49 
GeneralDoes anything affect Sleep () Pin
cheesepirate11-May-04 4:40
cheesepirate11-May-04 4:40 
GeneralRe: Does anything affect Sleep () Pin
toxcct11-May-04 4:47
toxcct11-May-04 4:47 
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 
My comment didn't answer your original question.
I just wanted to state that I don't think that
calling "Sleep" will cause the thread to wait actively.

It would be rather dumb to implement a task scheduler which lets a thread that called Sleep wait actively, wouldn't it?

To clarify:
By "waiting actively" I mean a continous loop until a condition is reached, like this one:
<br />
while ( true )<br />
{<br />
  if ( bConditionIsReached )<br />
  {<br />
    break;<br />
  }<br />
}<br />


Jens
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 
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 

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.