General information
Category:
Internet applications
Title:
Apartment Model Thread
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
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