The Object thread represents the Workplace object window. It is not
visible. It is used to offload I/O intensive operations from the main user-interface
thread. The Object thread has a PM message queue. It utilizes an event semaphore,
which it uses to signal the Sleepy time thread when the object thread is
idle. The Sleepy time thread uses this event semaphore to throttle itself
so that it does not fill the Object thread's message queue with make dormant
messages, which would implicitly keep the Object thread's priority higher
than the main User-interface thread's priority, and cause visibly noticeable
delays in response time.
Some of the notifications received and processed by the Object thread are
as follows:
- Receives notification from PMSHAPI when program groups
or their contents are added or deleted
- Receives notification from the Starter thread when
an application that the Workplace process asked to run gets terminated
- Receives notification that an object needs to be made
dormant
- Processes messages for class loading, unloading and
replacement which are sent by functions such as WinRegisterObjectClass and
WinReplaceObjectClass
- Receives notification that a file system notification
needs to be processed in the Workplace Shell
- Processes messages sent by functions such as WinCreateObject,
WinDestroyObject, and WinSetObjectData
- Processes some of the shutdown process.
[Back]
[Next]