发明名称 |
DYNAMIC LIBRARY REPLACEMENT |
摘要 |
Provided are techniques for an OS to be modified on a running system such that running programs, including system services, so not have to be stopped and restarted for the modification to take effect. The techniques include detecting, by a processing thread, when the processing thread has entered a shared library; in response to the detecting, setting a thread flag corresponding to the thread in an operating system (OS); detecting an OS flag, set by the OS, indicating that the OS is updating the shared library; in response to detecting the OS flag, suspending processing by the processing thread and transferring control from the thread to the OS; resuming processing by the processing thread in response to detecting that the OS has completed the updating; and executing the shared library in response to the resuming. |
申请公布号 |
US2014282462(A1) |
申请公布日期 |
2014.09.18 |
申请号 |
US201313844673 |
申请日期 |
2013.03.15 |
申请人 |
Peckham Stephen B. |
发明人 |
Peckham Stephen B. |
分类号 |
G06F9/445 |
主分类号 |
G06F9/445 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method, comprising;
detecting, by a processing thread, when the processing thread has entered a shared library; in response to the detecting, setting, in an operating system (OS), a thread flag corresponding, to the thread; detecting an OS flag, set by the OS, indicating that the OS is updating the shared library; in response to detecting the OS flag, suspending processing by the processing thread and transferring control from the thread to the OS; resuming processing by the processing thread in response to detecting that the OS has completed the updating; and executing the shared library in response to the resuming. |
地址 |
Austin TX US |