|
-
May 19th, 2013, 03:25 PM
#3
Thread Starter
New Member
Re: multiupload thread queue
Hi Niya,
Thanks fer answer.
I need to upload in real time.
Each time a file is placed in the folder, I have to upload this file to my webserver.
I use WndProc to trigger my upload.
When a file is placed on the backup directory, immediatly, my application receive a message via the WndProc.
From WndProc I call my function (AutoUpload).
And sometimes I receive 3 or more messages (3 files or more in the backup directory) in few seconds.
I can not upload all files at the same time. Only 1 by 1. How to do. I think I have to declare a queue or something like that. (enqueue, dequeue)
But I don't know exactly how to do the nexts steps with the threads.
Isa
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|