Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
| Search | Today's Posts | Mark Forums Read
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old September 6th, 2004, 05:06 AM
Authorized User
 
Join Date: Aug 2004
Location: , , .
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Post(Que) mesages between threads

Hi,

I have two threads, the first thread reads line by line data from the .txt file does some filtering and gives the data to the second thread to show on the UI. There will be thousands of records in the file. I want to simulate a condition where the first thread filters line by line data and posts each filtered line to the second thread to display. The main aim should be there should not be loss of data between the two threads, so I want to use message posting concept where all the filtered lines will be in que and can be accessed by the second thread. My goal is to speed up the display process. Can any one give me some idea to do this.

Thanks
Madhavi.



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do use Array with Threads vivekshah C# 1 June 26th, 2006 11:24 AM
generate too may threads mikel79 All Other Wrox Books 0 April 13th, 2006 07:52 AM
Struts and Threads varun_java Apache Tomcat 0 April 2nd, 2005 11:01 AM
Threads Help hybrid_dev C# 0 July 31st, 2003 10:23 AM
Problems with threads. Threads disappearing? DriesNeyrinck VB.NET 0 June 10th, 2003 08:26 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.