Click here to Skip to main content
15,894,907 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: ofstream position and >2GB files Pin
Jeremy Osner9-Nov-03 15:50
Jeremy Osner9-Nov-03 15:50 
GeneralTrue C/C++ goodies Pin
TW7-Nov-03 2:01
TW7-Nov-03 2:01 
GeneralSome Problem in Connection Points (MultiClients) Pin
shudingbo7-Nov-03 1:47
shudingbo7-Nov-03 1:47 
QuestionWhere is <Developers Workshop to COM and ATL 3.0 >? Pin
cr9996-Nov-03 17:55
cr9996-Nov-03 17:55 
GeneralATL/WTL DLL and the CMessageLoop* pLoop Pin
bryces6-Nov-03 13:38
bryces6-Nov-03 13:38 
GeneralRe: ATL/WTL DLL and the CMessageLoop* pLoop Pin
Michael Dunn6-Nov-03 16:51
sitebuilderMichael Dunn6-Nov-03 16:51 
Generalmultithreading deque<> question Pin
wibbik6-Nov-03 4:41
wibbik6-Nov-03 4:41 
GeneralRe: multithreading deque<> question Pin
geo_m6-Nov-03 5:26
geo_m6-Nov-03 5:26 
I think it is implementation specific - but I would normally put here some locking mechanism - it's shared resource between two threads - it means, say on two processor machine you can have half pushed object in a dequeue and in the very same moment second thread running in another processor receives that half baked object and consider that it's complete - where it can lead noone knows...

How to do it without waiting in A thread - that depends on your requirements - e.g. I can imagine a mechanism where thread A makes some batches (queue of commands say) and when there's some free time or the queue reaches some maximum size it's marked as complete (event signalled e.g.) and pushed to the thread B for processing, while A thread creates new (or uses previously created) queue for pushing...

just an idea, maybe there can be dozens of other solutions, it really depend on the requirements you have for the processing.

hope this helps
GeneralRe: multithreading deque<> question Pin
valikac6-Nov-03 5:51
valikac6-Nov-03 5:51 
GeneralRe: multithreading deque<> question Pin
Jeff Varszegi6-Nov-03 6:47
professionalJeff Varszegi6-Nov-03 6:47 
GeneralRe: multithreading deque<> question Pin
wibbik6-Nov-03 20:20
wibbik6-Nov-03 20:20 
GeneralRe: multithreading deque<> question Pin
Giles9-Nov-03 10:55
Giles9-Nov-03 10:55 
GeneralLinker error for vtMissing Pin
nigs_krec6-Nov-03 2:32
nigs_krec6-Nov-03 2:32 
GeneralRe: Linker error for vtMissing Pin
Brian Shifrin6-Nov-03 7:47
Brian Shifrin6-Nov-03 7:47 
General<vector> question Pin
Steve Messer5-Nov-03 7:02
Steve Messer5-Nov-03 7:02 
GeneralRe: <vector> question Pin
John M. Drescher5-Nov-03 7:17
John M. Drescher5-Nov-03 7:17 
GeneralRe: <vector> question Pin
Steve Messer5-Nov-03 7:59
Steve Messer5-Nov-03 7:59 
GeneralRe: &lt;vector&gt; question Pin
John M. Drescher5-Nov-03 8:08
John M. Drescher5-Nov-03 8:08 
GeneralRe: &lt;vector&gt; question Pin
Steve Messer5-Nov-03 8:15
Steve Messer5-Nov-03 8:15 
GeneralConvert habdle to object pointer Pin
abhay1013-Nov-03 18:55
abhay1013-Nov-03 18:55 
GeneralRe: Convert habdle to object pointer Pin
Abhishek Srivastava3-Nov-03 22:32
Abhishek Srivastava3-Nov-03 22:32 
GeneralRe: Convert habdle to object pointer Pin
abhay1014-Nov-03 19:02
abhay1014-Nov-03 19:02 
GeneralRe: Convert habdle to object pointer Pin
Steve S3-Nov-03 22:44
Steve S3-Nov-03 22:44 
GeneralRe: Convert handle to object pointer Pin
BobAshforth17-Dec-03 7:10
BobAshforth17-Dec-03 7:10 
GeneralProblem with GUID Pin
Gabriel.P.G3-Nov-03 16:35
Gabriel.P.G3-Nov-03 16:35 

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.