View Single Post
Old 2008-05-30, 16:36   #9 (permalink)
rtv
Portal Developer
 
rtv's Avatar
 
Join Date: Apr 2005
Location: Osnabruck
Posts: 2,523
Thanks: 85
Thanked 97 Times in 71 Posts

Country:

My System

Default

Doesn't matter at all.
Look for some C# how-to to multi-threaded programming.
A quick sample app where:
Thread 1 loops through an ArrayList (or any list implementing IEnumerable).
Thread 2 modifies any items of the list while Thread 1 is still running.

Will show you the issue.
Most likely you aren't aware why you trigger this because MP's gentle DB statements are executed from the same thread which communicates with the "businesslayer". You however most likely use an own thread to query it's methods.

Quote:
Originally Posted by binary64 View Post
even though the crash was on the server-side of the remoting? plus tcp/ip is by its nature serialized
Of course since TVE is Thread 1 of this example (which throws InvalidOperationException then).
__________________
rtv is offline   Reply With Quote