The Lazy writer thread is responsible for writing objects' state
in its persistent form. A wpSaveDeferred results in an object subsequently
being processed by this thread. When the Lazy writer thread stores an object,
it will call _wpSaveState. This thread does not have a PM message queue.
Synchronization is controlled by event semaphores that are signaled from
various other threads. The Lazy writer thread detects periods of file system
inactivity, as well as other heuristics, and at such times performs actions
such as:
- Storing file system objects' handles to the OS2SYS.INI
file
- Storing abstract objects' handles to the OS2.INI file
- Saving all objects on the Dirty list
- Saving the restart list
- Saving any updated window positions to the OS2.INI
file
- Updating the PM_Workplace:Locations entry in the OS2.INI
file.
[Back]
[Next]