General information
Category:
Coding, syntax and commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only