I
Ibrahim.
Hello,
Im creating windows service program for the following purpose :
1. to save a file to the shared resource every 5 minutes. the file contents
come from the database.
2. i need to put the above task in the queue and execute the save task one
by one
what kind of threading model i need to use and the program design?
I will have a main thread, a worker thread (attached to a delegate). the
delegate function will have the following structure.
while (workerThreadStarted)
{
callSaveFile()
}
Im creating windows service program for the following purpose :
1. to save a file to the shared resource every 5 minutes. the file contents
come from the database.
2. i need to put the above task in the queue and execute the save task one
by one
what kind of threading model i need to use and the program design?
I will have a main thread, a worker thread (attached to a delegate). the
delegate function will have the following structure.
while (workerThreadStarted)
{
callSaveFile()
}