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-...
Saved in:
Main Authors | , |
---|---|
Format | Patent |
Language | English |
Published |
03.12.2002
|
Edition | 7 |
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | 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. |
---|---|
Bibliography: | Application Number: US19980004969 |