Dynamic library replacement
Abstract
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 0.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
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 OS flag, set by the OS, indicating that the OS is updating the shared library; in response to detecting the OS flag, suspending updating of the shared library and transferring control from the OS to the thread; detecting that the thread has cleared the thread flag and that the thread is sleeping; and resuming the updating of the shared library and walking the thr
- Claim 2Depends on #1
The method of claim 1 , further comprising clearing the thread flag in response to a completion at processing by the processing thread.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.