Invention Grant
US08977795B1 Method and apparatus for preventing multiple threads of a processor from accessing, in parallel, predetermined sections of source code 有权
用于防止处理器的多个线程并行访问源代码的预定部分的方法和装置

Method and apparatus for preventing multiple threads of a processor from accessing, in parallel, predetermined sections of source code
Abstract:
Systems, methods, and other embodiments associated with managing access to critical sections in a multithread processor are described. According to one embodiment, an apparatus includes a register configured to store i) respective resource identifiers that identify respective resources and ii) respective priorities for respective resource identifiers. The apparatus includes a managing module logic configured to receive a blocking instruction for a first resource having a first resource identifier that is associated with a first task, access the register to determine a priority associated with the first resource identifier, select one or more dependent resources based, at least in part on the priority associated with first resource identifier, and block the first resource and the dependent resources. In this manner the first task is granted access to the first resource and the dependent resources while other tasks are prevented from accessing the first resource and the dependent resources.
Information query
Patent Agency Ranking
0/0