发明名称 METHOD FOR MINIMIZING LOCK COMPETITION BETWEEN THREADS WHEN TASKS ARE DISTRIBUTED IN MULTI-THREAD STRUCTURE AND APPARATUS USING THE SAME
摘要 According to an aspect of the present invention, a method for minimizing lock competition between threads when distributing tasks in a multi-thread structure includes the steps of: (a) in a multi-thread structure which includes a control thread for receiving jobs, a plurality of job queues for receiving and storing job related information from the control thread, and a worker thread corresponding to a plurality of the job queues, respectively, wherein the worker thread performs a function for processing the jobs received from the job queues, when the control thread obtains a new job, allowing the control thread to hold a lock and put the obtained job into a particular job queue in order to put the obtained job into the particular job queue satisfying a predetermined condition among a plurality of the job queues, by a processor; and (b) when the particular job queue is unlocked, allowing the particular worker thread corresponding to the particular job queue to hold the lock again with respect to the particular job queue and obtain the job stored in the particular job queue, by the processor.
申请公布号 KR101638136(B1) 申请公布日期 2016.07.08
申请号 KR20150067666 申请日期 2015.05.14
申请人 TMAXSOFT. CO., LTD. 发明人 JANG, YOUNG HWI;CHUNG, EUI GEUN
分类号 G06F9/48;G06F9/54 主分类号 G06F9/48
代理机构 代理人
主权项
地址