Well, If you are creating the working thread once you know the parameters, then just pass the parameters to the thread when you create it. So your pseudo code could be like:
<user clicks on a file>
Gui thread makes a file properties pane
gui thread looks at the file to see what properties it has
<at this point you know what file and what properties it has>
gui thread creates a worker thread and passes in a pointer to some info that contains details about what file and properties to work on.
Paul
Bookmarks