|
-
Dec 1st, 2003, 03:28 PM
#1
Thread Starter
Hyperactive Member
what does it mean by "thread-safe procedure"
I was going thru the help on collection and I came across the following line
"Enumerating through a collection is not a thread-safe procedure"
what is thread-safe procedure..?
thanks
-
Dec 1st, 2003, 03:41 PM
#2
Frenzied Member
Thread-safe means that the process will work correctly in a multithreaded application.
The reason that iterating through a collection is noth thread safe is that it doesn't lock the collection so other threads can alter the collection while you are trawling through it (with hilarious consequences...not)
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
|