What constitutes threadsafe?
Posted: Fri Dec 22, 2006 4:56 am
Hello,
I am writing an application that fills a listicon gadget with thousands of records..
I have a thread reading the database and updating the listicon in the main window.. that part works great.. the intention of doing this is so that if the user clicks anything on the window, the display/window doesn't freeze..
The problem is this.. I am also trying to add a progress bar that lets the user know how much farther there is to process..
so far.. I have a second thread that creates it's own child window that holds only the progressbar gadget. Does anyone have an example of how to do this..
I am writing an application that fills a listicon gadget with thousands of records..
I have a thread reading the database and updating the listicon in the main window.. that part works great.. the intention of doing this is so that if the user clicks anything on the window, the display/window doesn't freeze..
The problem is this.. I am also trying to add a progress bar that lets the user know how much farther there is to process..
so far.. I have a second thread that creates it's own child window that holds only the progressbar gadget. Does anyone have an example of how to do this..