Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Apartment Model Thread
Message
From
09/08/1999 20:47:24
 
 
To
09/08/1999 19:22:45
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00251823
Message ID:
00251844
Views:
9
>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.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform