Information générale
Catégorie:
Applications Internet
>>>>Is that why a VFP MTDLL is not considered a true multi threaded com object?
>>>
>>>VFP uses apartment model threading because that is what MTS (and now COM+ in Win2000) requires. VB behaves the same way.
>>
>>True, but still as quoted directly from his white paper, "Apartment model threading provides a simulation of multi-threading, but does not really make an application truly multi-threaded and reentrant at the binary level as a C++ program."
>
>VFP can't generated free-threaded COM objects; neither can VB, and unless you're careful in coding it, not all C/C++ objects are, either. From a proactical perspective, unless you have asynchronous operations taking place with callbacks and spawning of multiple threads within the COM object, free-threading doesn't buy you a great deal.
What are callbacks? What is spawning? In relation to my original question, if two stations are sharing the same thread, is it possible with some C/C++ objects to process their requests simultaneously, or would they both block each other.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement