Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is Silverlight the way forward
Message
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01500668
Message ID:
01500987
Views:
61
Ay,yi,yi,yi I guess you tuned me (and the facts) out.....

>Hmm. So where am I wrong:
The VFP runtimes were not written as threadsafe DLLs.
Therefore the same instance cannot be safely accessed by more than one thread.
Therefore you must either queue the calls to the runtime or instantiate multiple instances.
If the former you gain no performance benifits. If the latter you eat RAM.
>>>Then, since the runtimes themselves are not threadsafe, how can this work in a threadsafe manner?
>Either the calls have to be queued (which is not my idea of multithreading) or you have problems.
>
>That's not my understanding of how it works. If Mtdll uses STA then one block of memory can be shared between multiple simultaneous apartments that don't interfere with each other. It's not free-threaded, but it is thread-safe.
Previous
Reply
Map
View

Click here to load this message in the networking platform