Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Apartment Model Thread
Message
From
09/08/1999 19:22:45
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Apartment Model Thread
Miscellaneous
Thread ID:
00251823
Message ID:
00251823
Views:
60
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?
Next
Reply
Map
View

Click here to load this message in the networking platform