|
-
May 22nd, 2013, 08:45 AM
#1
Thread Starter
Hyperactive Member
multiple threads selecting the same listbox item
Hi, ok i have multiple threads running at once. All threads have the same code just chnaged a little for each one.
Anyways what happens is when i thread runs it start as listbox index 0, gets the item then runs the rest of the code and also does index +1
The other threads should use index 1, 2, 3 ect..., this works however sometimes 2 threads will end up with the same item, like if both are run at the same time, both threads use the same item.
I can not find a way so that all threads use a different item in the list.
How would this be done ?
Thanks
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
|