Invention Grant
- Patent Title: Cooperative DLL unload
- Patent Title (中): 合作DLL卸载
-
Application No.: US11693080Application Date: 2007-03-29
-
Publication No.: US07865914B2Publication Date: 2011-01-04
- Inventor: Kenneth M. Jung , Arun Kishan , Neill M. Clift , Dragos C. Sambotin
- Applicant: Kenneth M. Jung , Arun Kishan , Neill M. Clift , Dragos C. Sambotin
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Agency: Wolf, Greenfield & Sacks, P.C.
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/46 ; G06F12/00

Abstract:
Loading and unloading a plurality of libraries on a computing device having a loader lock and internal and external counts for each library in the plurality of libraries is disclosed. The libraries assume an initialize state, followed by an initialized state, a pending unload state, and an unload state according to when the internal and external counts are incremented and decremented. When in the pending unload state, the functions of a library that include functions that require acquiring the loader lock exit, the internal count is decremented by one, and the loader lock is released. Prior to entering the pending unload state, a library may be placed into a reloadable state. A library in the reloadable state may be reloaded upon request until a timer times out. When the timer times out, the library in the reloadable state transitions into the pending unload state.
Public/Granted literature
- US20080243965A1 COOPERATIVE DLL UNLOAD Public/Granted day:2008-10-02
Information query