发明授权
- 专利标题: Method and system for multi-threaded processing
- 专利标题(中): 多线程处理方法与系统
-
申请号: US09328683申请日: 1999-06-08
-
公开(公告)号: US06658490B1公开(公告)日: 2003-12-02
- 发明人: Antonty S. Williams , Alexander A. Mitchell , Robert G. Atkinson , C. Douglas Hodges , Johann Posch , Craig H Wittenberg
- 申请人: Antonty S. Williams , Alexander A. Mitchell , Robert G. Atkinson , C. Douglas Hodges , Johann Posch , Craig H Wittenberg
- 主分类号: G06F946
- IPC分类号: G06F946
摘要:
The present invention provides a method and system for multi-threaded processing that is an improvement over conventional systems. The system of the present invention comprises multiple threads of execution, multiple apartments, shared data, and a concurrency management component. The threads of execution run independently and each occupy one apartment. The apartments contain objects that have methods to perform operations. The shared data contains data that is accessible by all threads within the process. The concurrency management mechanism performs processing so that the multiple threads can execute concurrently in a reliable and robust manner. In an alternative system of the present invention, the threads are separate from the apartments and the threads execute within the apartments to perform processing. After performing the processing, the thread exits the apartment so that the apartment may be occupied by another thread.