发明名称 Method and apparatus for detecting input directed to a thread in a multi-threaded process
摘要 A method and apparatus are disclosed for handling an input event directed to a thread within a process operating in a multi-threaded system. A process is alerted that an input event effecting one of its active connection threads has been received. An input polling thread in the process is enabled and is used, in conjunction with other thread-specific data, to determine which of the threads in the process has an event directed to it. That thread is then triggered to handle the input event. The active connection thread receiving the input event is assigned a light weight process to execute only after it is determined that the thread requires it to process the input event. The input polling thread for a process detects input events for its process and causes the appropriate connection thread in the process to be assigned a light weight process when the connection thread needs it to execute. This greatly reduces the number of light weight processes assigned to threads in a multi-threaded operating system.
申请公布号 US6457064(B1) 申请公布日期 2002.09.24
申请号 US19980067546 申请日期 1998.04.27
申请人 SUN MICROSYSTEMS, INC. 发明人 HUFF DARYL A.;YEAGER WILLIAM J.
分类号 G06F9/46;G06F9/48;G06F9/54;(IPC1-7):G06F9/54 主分类号 G06F9/46
代理机构 代理人
主权项
地址