Runtime Emulating Static Thread Local Storage of Portable Executable Software Code
AssigneeVMware, Inc.
InventorJonathan CLARK
Life of this patent
Estimating the term…
Abstract
A computer readable storage medium containing a program which, when executed by a processor, performs an operation of emulating static thread local storage of an executable software code at runtime, is disclosed. The operation includes executing the executable software code within a process memory space. During the execution of the executable software code, an occurrence of an event that is associated with a thread create operation is monitored. When the monitored event occurs, a thread data block duplicate is established within the process memory space and associated with a thread created by the thread create operation. The thread data block duplicate is configured to be accessed by executing a thread local storage callback function.
Claims20
A computer readable storage medium containing a program which, when executed by a processor, performs an operation of emulating static thread local storage of an executable software code at runtime, the operation comprising:
- executing the executable software code within a process memory space;
- during the executing, monitoring an occurrence of an event associated with a thread create operation in the executable software code;
- and
- upon the occurrence of the event, establishing a thread data block duplicate within the process memory space and associating the thread data block duplicate with a thread created by the thread create operation, the thread data block duplicate is configured to be accessed by executing a thread local storage callback function.
A method for emulating static thread local storage of an executable software code at runtime, the method comprising:
- executing the executable software code within a process memory space;
- during the executing, monitoring an occurrence of an event associated with a thread create operation in the executable software code;
- and
- upon the occurrence of the event, establishing a thread data block duplicate within the process memory space and associating the thread data block duplicate with a thread created by the thread create operation, the thread data block duplicate is configured to be accessed by executing a thread local storage callback function.
A system, comprising:
- a computer system having an operating system;
- a module executable by the operating system, the module is configured to emulate static thread local storage of an executable software code at runtime, the module further configured to perform an operation, the operation comprising:
- executing the executable software code within a process memory space;
- during the executing, monitoring an occurrence of an event associated with a thread create operation in the executable software code;
- and
- upon the occurrence of the event, establishing a thread data block duplicate within the process memory space and associating the thread data block duplicate with a thread created by the thread create operation, the thread data block duplicate is configured to be accessed by executing a thread local storage callback function.
Dependencies are inferred from the claim text.