Click here to Skip to main content
15,916,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Hollow in MFC. Please help. Pin
Michael Dunn11-Dec-01 8:04
sitebuilderMichael Dunn11-Dec-01 8:04 
GeneralUsing standard ActiveX (VC++ 6.0) Pin
DABMSC10-Dec-01 23:55
DABMSC10-Dec-01 23:55 
GeneralRe: Using standard ActiveX (VC++ 6.0) Pin
Michael P Butler11-Dec-01 0:21
Michael P Butler11-Dec-01 0:21 
QuestionHow do I change the page layout (page orientation) during printing? Pin
Youknowme10-Dec-01 23:14
Youknowme10-Dec-01 23:14 
AnswerRe: How do I change the page layout (page orientation) during printing? Pin
Bernhard10-Dec-01 23:59
Bernhard10-Dec-01 23:59 
GeneralStupid question answered thousand times Pin
Krouer10-Dec-01 22:51
Krouer10-Dec-01 22:51 
GeneralRe: Stupid question answered thousand times Pin
moliate11-Dec-01 2:09
moliate11-Dec-01 2:09 
General'Pushing' a thread... Pin
Mr.Freeze10-Dec-01 22:38
Mr.Freeze10-Dec-01 22:38 
Hi,

I'm wondering if it is possible to 'push' a thread to execute more often when another thread is waiting for some data from the first one?

The concret case is the following: My application created a secondary thread for displaying data. The main thread modifies that data and to avoid displaying wrong data I use flags.
When the secondary thread is busy, the first one waits until the security flag is reset. Depending on the compiler options the results are different: for 'standard optimization' there is no problem, but for 'speed optimized' the main thread waits forever because somehow the secondary thread doesn't continue... ??
Can someone help ??

Thanks Smile | :)
GeneralRe: 'Pushing' a thread... Pin
Krouer10-Dec-01 22:45
Krouer10-Dec-01 22:45 
GeneralRe: 'Pushing' a thread... Pin
Nish Nishant11-Dec-01 0:38
sitebuilderNish Nishant11-Dec-01 0:38 
GeneralRe: 'Pushing' a thread... Pin
markkuk11-Dec-01 0:52
markkuk11-Dec-01 0:52 
GeneralRe: 'Pushing' a thread... Pin
Michael Dunn11-Dec-01 8:22
sitebuilderMichael Dunn11-Dec-01 8:22 
GeneralRe: 'Pushing' a thread... Pin
Mr.Freeze11-Dec-01 13:35
Mr.Freeze11-Dec-01 13:35 
Generallooking for panacea....how invoke method of Server in a Container Pin
Ahmad9910-Dec-01 22:24
Ahmad9910-Dec-01 22:24 
GeneralCrystal Reports Pin
imrancs_qau10-Dec-01 21:50
imrancs_qau10-Dec-01 21:50 
Questionhow to Run Visual c++ program in another computer that haven't visual c++? Pin
nemati10-Dec-01 21:23
nemati10-Dec-01 21:23 
AnswerRe: how to Run Visual c++ program in another computer that haven't visual c++? Pin
Sito Dekker10-Dec-01 22:49
Sito Dekker10-Dec-01 22:49 
AnswerRe: how to Run Visual c++ program in another computer that haven't visual c++? Pin
Joaquín M López Muñoz10-Dec-01 23:12
Joaquín M López Muñoz10-Dec-01 23:12 
AnswerRe: how to Run Visual c++ program in another computer that haven't visual c++? Pin
Nish Nishant11-Dec-01 0:40
sitebuilderNish Nishant11-Dec-01 0:40 
Questionhow to Visual c++ program in another computer that haven't visual c++? Pin
nemati10-Dec-01 21:22
nemati10-Dec-01 21:22 
AnswerRe: how to Visual c++ program in another computer that haven't visual c++? Pin
Krouer10-Dec-01 22:43
Krouer10-Dec-01 22:43 
AnswerRe: how to Visual c++ program in another computer that haven't visual c++? Pin
moliate11-Dec-01 2:18
moliate11-Dec-01 2:18 
AnswerRe: how to Visual c++ program in another computer that haven't visual c++? Pin
Carlos Antollini11-Dec-01 3:05
Carlos Antollini11-Dec-01 3:05 
GeneralStack Overflow Problem Pin
haris10-Dec-01 21:19
haris10-Dec-01 21:19 
GeneralRe: Stack Overflow Problem Pin
Krouer10-Dec-01 22:56
Krouer10-Dec-01 22:56 

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.