首页> 外国专利> MECHANISM FOR MANAGING RESOURCE LOCKING IN A MULTI-THREADED ENVIRONMENT

MECHANISM FOR MANAGING RESOURCE LOCKING IN A MULTI-THREADED ENVIRONMENT

机译:多重环境中资源锁定的管理机制

摘要

A mechanism is disclosed for implementing resource locking in a massively multi-threaded environment. The mechanism receives from a stream a request to obtain a lock on a resource. In response, the mechanism determines whether the resource is currently locked. If so, the mechanism adds the stream to a wait list. At some point, based upon the wait list, the mechanism determines that it is the stream's turn to lock the resource; thus, the mechanism grants the stream a lock. In this manner, the mechanism enables the stream to reserve and to obtain a lock on the resource. By implementing locking in this way, a stream is able to submit only one lock request. When it is its turn to obtain a lock, the stream is granted that lock. This lock reservation methodology makes it possible to implement resource locking efficiently in a massively multi-threaded environment.
机译:公开了一种用于在大规模多线程环境中实现资源锁定的机制。该机制从流接收请求以获取对资源的锁定。作为响应,该机制确定资源当前是否被锁定。如果是这样,则该机制将流添加到等待列表。在某个时刻,根据等待列表,该机制确定轮到该流锁定资源。因此,该机制为流授予了锁定。以这种方式,该机制使流能够保留资源并获得对资源的锁定。通过以这种方式实现锁定,流只能提交一个锁定请求。当轮到它获取锁时,将为流授予该锁。这种锁定保留方法可以在大规模多线程环境中有效地实现资源锁定。

著录项

  • 公开/公告号IL187366D0

    专利类型

  • 公开/公告日2008-03-20

    原文格式PDF

  • 申请/专利权人 CONSENTRY NETWORKS INC.;

    申请/专利号IL20070187366

  • 发明设计人

    申请日2007-11-14

  • 分类号G06F;G06F9;G06F9/38;G06F9/48;H04L1;

  • 国家 IL

  • 入库时间 2022-08-21 20:07:56

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号