首页> 外国专利> METHOD FOR AUTOMATICALLY CONTROLLING PARALLEL AND SIMULTANEOUS ACCESS TO SHARED RESOURCES IN MULTI-THREAD TYPE PROGRAMMING ENVIRONMENT AND DEVICE THEREFOR

METHOD FOR AUTOMATICALLY CONTROLLING PARALLEL AND SIMULTANEOUS ACCESS TO SHARED RESOURCES IN MULTI-THREAD TYPE PROGRAMMING ENVIRONMENT AND DEVICE THEREFOR

机译:在多线程编程环境中自动并行控制共享资源的并行访问方法及其装置

摘要

PROBLEM TO BE SOLVED: To provide a general purpose and easy-to-use mechanism which is capable of automatically setting and releasing the lock for single access resources from any thread, without damaging the application extension and the normal flow of the control within a program. ;SOLUTION: By imparting the ownership of the lock related to the resources to the one thread of a program, regardless of the necessity of the use of the resources by the thread at present, the priority that the thread is superior to other threads in the program is imparted to the thread. These other threads notify the priority thread of the necessity of the use of the resources when the threads require the resources. When the priority thread finishes the use of the resources and detects that other threads wait for the uses of the resources, the priority thread releases the resources lock for the resources. The priority thread automatically requests the resources lock after the resources is released.;COPYRIGHT: (C)1997,JPO
机译:解决的问题:提供一种通用且易于使用的机制,该机制能够自动设置和释放来自任何线程的单次访问资源的锁定,而不会损害应用程序扩展和程序内控件的正常流程。 ;解决方案:通过将与资源相关的锁的所有权授予程序的一个线程,而不管当前该线程使用该资源的必要性,该线程优先于该线程中的其他线程。程序被赋予线程。当线程需要资源时,这些其他线程会通知优先级线程使用资源的必要性。当优先级线程完成对资源的使用并检测到其他线程正在等待资源的使用时,优先级线程将释放对资源的资源锁定。优先级线程在资源释放后自动请求资源锁定。;版权所有:(C)1997,JPO

著录项

  • 公开/公告号JPH09198265A

    专利类型

  • 公开/公告日1997-07-31

    原文格式PDF

  • 申请/专利权人 SUN MICROSYST INC;

    申请/专利号JP19970010088

  • 发明设计人 CLARK PETER D;

    申请日1997-01-06

  • 分类号G06F9/46;

  • 国家 JP

  • 入库时间 2022-08-22 03:32:46

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号