WellsCarrie
Well-known member
Solved - Threading in a windows service????
I have a file watcher service that picks up a file, reads some data from it, Puts the data on a word document, prints the document, and then moves the file to another directory.
If only one file is droped to the watched directory at a time every thing works great. However if more than one file gets dropped it boggs down taking 8 to 20 minutes to complete the process per file instead of the 4 for just one.)
Is this a threading issue? And if so how do I make my service properly thread and use enough processor power to complete the work in a reasonable time?
thanks!
I have a file watcher service that picks up a file, reads some data from it, Puts the data on a word document, prints the document, and then moves the file to another directory.
If only one file is droped to the watched directory at a time every thing works great. However if more than one file gets dropped it boggs down taking 8 to 20 minutes to complete the process per file instead of the 4 for just one.)
Is this a threading issue? And if so how do I make my service properly thread and use enough processor power to complete the work in a reasonable time?
thanks!
Last edited: