Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Apartment Model Thread
Message
From
09/08/1999 22:53:57
 
 
To
09/08/1999 20:47:24
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00251823
Message ID:
00251859
Views:
10
>>From what I can understand from Strahl's white papers is that the apartment model thread is very much like a stand alone system running in a multi-user environment not true multi threading like something written in C++.
>>
>>Testing multi-threading with IIS, I called an ASP page that generated a MTDLL com object from two systems simultaneously and each generated a unique thread id, which is correct. However if I bring up one system and then wait for a sufficient time and then bring up another system, both systems will share the same thread ID.
>>
>>This is what is called "blocking". Each system has to wait for the other system on the thread to finish processing before they can begin processing their request.
>>
>>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."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform