首页> 外国专利> Checking write access to shared resources in a multithreaded processor

Checking write access to shared resources in a multithreaded processor

机译:检查对多线程处理器中共享资源的写访问

摘要

A multithreaded processor receives an instruction from a thread to write to a shared resource, such as a shared register. The processor checks one or more control registers to determine if the thread has write access to the resource. If so then the instruction is issued. If not, an exception may be made. There may be a control register for each thread. Flags in the control register may indicate the resources, to which the thread has write access. Alternatively, there may be a control register associated with each resource, which indicates the thread that has write access to the resource. The thread may be allowed to read from the resource if no other thread has write access. It may be able to give itself write access if no other thread has write access.
机译:多线程处理器从线程接收指令以写入共享资源,例如共享寄存器。处理器检查一个或多个控制寄存器,以确定线程是否具有对资源的写访问权。如果是这样,则发出指令。如果不是,可能会产生例外。每个线程可能都有一个控制寄存器。控制寄存器中的标志可以指示线程对其具有写访问权的资源。替代地,可以存在与每个资源相关联的控制寄存器,该控制寄存器指示对该资源具有写访问权的线程。如果没有其他线程具有写访问权限,则可以允许该线程从资源读取。如果没有其他线程具有写访问权限,则它可能能够赋予自身写访问权限。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号