首页>
外国专利>
Method, apparatus and computer program product for invoking a thread-unaware routine that uses an operation-dependent temporary data structure
Method, apparatus and computer program product for invoking a thread-unaware routine that uses an operation-dependent temporary data structure
展开▼
机译:用于调用使用与操作有关的临时数据结构的无线程例程的方法,装置和计算机程序产品
展开▼
页面导航
摘要
著录项
相似文献
摘要
Apparatus, methods and computer program products are disclosed that allows a thread-unaware routine that accesses an operation-dependent temporary data structure to be shared by multiple threads in a multi-threaded computing environment. The programmer for an operation provides three routines—a pre-processing routine, a operation routine, and a post-processing routine. The pre-processing routine allocates the operation-dependent temporary data structure. The operation routine accesses the operation-dependent temporary data structure to perform its operation for each thread that invokes the operation routine. The post-processing routine deallocates the operation-dependent temporary data structure when it is no longer needed.
展开▼