Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: HTTP Protocol :: Winsock Pin
valikac20-Jun-02 11:39
valikac20-Jun-02 11:39 
GeneralRe: HTTP Protocol :: Winsock Pin
Joaquín M López Muñoz20-Jun-02 11:57
Joaquín M López Muñoz20-Jun-02 11:57 
GeneralRe: HTTP Protocol :: Winsock Pin
valikac20-Jun-02 12:16
valikac20-Jun-02 12:16 
GeneralRe: Success Pin
valikac21-Jun-02 4:55
valikac21-Jun-02 4:55 
Generalimage state for tree Pin
pnpfriend20-Jun-02 9:34
pnpfriend20-Jun-02 9:34 
QuestionHow do I Display an Access table into a List Ctrl?? Pin
markshian20-Jun-02 9:18
markshian20-Jun-02 9:18 
AnswerRe: How do I Display an Access table into a List Ctrl?? Pin
Mazdak20-Jun-02 10:05
Mazdak20-Jun-02 10:05 
QuestionWorker thread with periodic action/wakeup? Pin
20-Jun-02 8:48
suss20-Jun-02 8:48 
Hi there, what is a good way to run a worker thread as following:
- perform an action every 50-100 ms (variable to configure)
- meanwhile use less CPU power?
- accuracy of the configured time has to be +=100ms (that's fine but not longer!)

// Bad empty example following
TRACE("me worker thread, me good\n");
for(;!bStopThread; )
{
	//TODO
	Sleep(0);
}
TRACE("worker thread leaving\n");

AnswerRe: Worker thread with periodic action/wakeup? Pin
20-Jun-02 9:22
suss20-Jun-02 9:22 
GeneralRe: Worker thread with periodic action/wakeup? Pin
Bill Wilson20-Jun-02 13:46
Bill Wilson20-Jun-02 13:46 
GeneralTricky one Pin
RobJones20-Jun-02 8:40
RobJones20-Jun-02 8:40 
GeneralRe: Tricky one Pin
Shog920-Jun-02 8:50
sitebuilderShog920-Jun-02 8:50 
GeneralTime Comparisons Pin
PaulJ20-Jun-02 8:08
PaulJ20-Jun-02 8:08 
GeneralRe: Time Comparisons Pin
Chris Losinger20-Jun-02 8:25
professionalChris Losinger20-Jun-02 8:25 
GeneralRe: Time Comparisons Pin
PaulJ20-Jun-02 8:57
PaulJ20-Jun-02 8:57 
GeneralRe: Time Comparisons Pin
Maximilien20-Jun-02 8:39
Maximilien20-Jun-02 8:39 
GeneralSystem Tray icons Pin
Abin20-Jun-02 8:05
Abin20-Jun-02 8:05 
GeneralRe: System Tray icons Pin
20-Jun-02 8:28
suss20-Jun-02 8:28 
GeneralRe: System Tray icons Pin
Abin20-Jun-02 8:33
Abin20-Jun-02 8:33 
GeneralRe: System Tray icons Pin
Shog920-Jun-02 8:53
sitebuilderShog920-Jun-02 8:53 
GeneralRe: System Tray icons Pin
20-Jun-02 8:59
suss20-Jun-02 8:59 
GeneralPrinting long CString Pin
HenrikO20-Jun-02 7:38
HenrikO20-Jun-02 7:38 
GeneralRe: Printing long CString Pin
Chris Losinger20-Jun-02 7:49
professionalChris Losinger20-Jun-02 7:49 
GeneralRe: Printing long CString Pin
HenrikO20-Jun-02 7:52
HenrikO20-Jun-02 7:52 
GeneralRe: Printing long CString Pin
Chris Losinger20-Jun-02 8:02
professionalChris Losinger20-Jun-02 8:02 

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.