首页>
外国专利>
THREADSAFE USE OF NON-THREADSAFE LIBRARIES WITH MULTI-THREADED PROCESSES
THREADSAFE USE OF NON-THREADSAFE LIBRARIES WITH MULTI-THREADED PROCESSES
展开▼
机译:带有多线程过程的非线程安全库的线程安全使用
展开▼
页面导航
摘要
著录项
相似文献
摘要
An apparatus includes a processor and a storage storing instructions causing the processor to determine whether an analysis routine is multi-threaded and calls a library function of a non-threadsafe library, and if so, causes the processor to: instantiate an analysis process for executing the analysis routine on multiple threads; instantiate an instance of the library for execution within a isolated library process; instantiate another instance of the library for execution within another isolated library process; retrieve library metadata providing a function prototype of the library function; employ the function prototype to generate an instance of a bridge routine to enable a call from the analysis routine on a first thread to the library function; employ the function prototype to generate another instance of the bridge routine to enable a call from the analysis routine on a second thread to the library function; and begin execution of the analysis routine.
展开▼