Click here to Skip to main content
15,914,943 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionwhere can I find some articles about the "Thread Pool"? Pin
wabc29-Jan-02 20:16
wabc29-Jan-02 20:16 
AnswerRe: where can I find some articles about the "Thread Pool"? Pin
Joaquín M López Muñoz29-Jan-02 23:25
Joaquín M López Muñoz29-Jan-02 23:25 
GeneralPostMessage() Pin
Swinefeaster29-Jan-02 20:07
Swinefeaster29-Jan-02 20:07 
GeneralRe: PostMessage() Pin
Rickard Andersson2029-Jan-02 21:38
Rickard Andersson2029-Jan-02 21:38 
GeneralRe: PostMessage() Pin
Swinefeaster29-Jan-02 21:40
Swinefeaster29-Jan-02 21:40 
GeneralRe: PostMessage() Pin
Rickard Andersson2029-Jan-02 21:44
Rickard Andersson2029-Jan-02 21:44 
GeneralRe: PostMessage() Pin
Rickard Andersson2029-Jan-02 21:46
Rickard Andersson2029-Jan-02 21:46 
GeneralRe: PostMessage() Pin
Swinefeaster29-Jan-02 22:03
Swinefeaster29-Jan-02 22:03 
Hmmm interesting Wink | ;) . I didn't know about this api function. I'm going to try this.

Is there any easy way of getting the main ui thread? (instead of just retrieving it by the ui thread on startup and using ugly synchronization to get it in the worker thread)

What do I pass as the time? I'm assuming this is the value returned by GetTickCount(). The docs for MSG say nothing about the format of this field.

But shouldn't PostMessage() be thread safe anyways? It works for other messages... Oh btw the exact same code I mentioned in the original post does work sometimes.

Thanks!

swinefeaster

Check out Aephid Photokeeper, the powerful digital
photo album solution at www.aephid.com.
GeneralRe: PostMessage() Pin
Rickard Andersson2029-Jan-02 23:04
Rickard Andersson2029-Jan-02 23:04 
GeneralRe: PostMessage() Pin
Swinefeaster29-Jan-02 23:07
Swinefeaster29-Jan-02 23:07 
GeneralRe: PostMessage() Pin
Rickard Andersson2030-Jan-02 0:19
Rickard Andersson2030-Jan-02 0:19 
GeneralRe: PostMessage() Pin
Swinefeaster30-Jan-02 0:16
Swinefeaster30-Jan-02 0:16 
GeneralRe: PostMessage() Pin
Rickard Andersson2030-Jan-02 3:26
Rickard Andersson2030-Jan-02 3:26 
GeneralRe: PostMessage() Pin
Rickard Andersson2030-Jan-02 3:28
Rickard Andersson2030-Jan-02 3:28 
GeneralRe: PostMessage() Pin
Le centriste30-Jan-02 3:27
Le centriste30-Jan-02 3:27 
GeneralRe: PostMessage() Pin
Rickard Andersson2030-Jan-02 3:35
Rickard Andersson2030-Jan-02 3:35 
GeneralRe: PostMessage() Pin
James R. Twine30-Jan-02 6:55
James R. Twine30-Jan-02 6:55 
GeneralRe: PostMessage() Pin
Swinefeaster30-Jan-02 10:30
Swinefeaster30-Jan-02 10:30 
GeneralRe: PostMessage() Pin
Swinefeaster30-Jan-02 10:23
Swinefeaster30-Jan-02 10:23 
QuestionCan Dialog have more than 256 controls??? Pin
29-Jan-02 18:12
suss29-Jan-02 18:12 
AnswerRe: Can Dialog have more than 256 controls??? Pin
Nish Nishant29-Jan-02 18:20
sitebuilderNish Nishant29-Jan-02 18:20 
AnswerRe: Can Dialog have more than 256 controls??? Pin
Not Active30-Jan-02 1:54
mentorNot Active30-Jan-02 1:54 
GeneralRe: Can Dialog have more than 256 controls??? Pin
Rüpel30-Jan-02 3:05
Rüpel30-Jan-02 3:05 
GeneralHelp on obtaining a pointer to my CDocument derived class Pin
VanHlebar29-Jan-02 16:40
VanHlebar29-Jan-02 16:40 
GeneralRe: Help on obtaining a pointer to my CDocument derived class Pin
Jens Kreiensiek29-Jan-02 21:09
Jens Kreiensiek29-Jan-02 21:09 

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.