首页> 外国专利> Calibrated timeout interval on a configuration value, shared timer value, and shared calibration factor

Calibrated timeout interval on a configuration value, shared timer value, and shared calibration factor

机译:配置值,共享计时器值和共享校准因子的校准超时间隔

摘要

A processor-implemented method for implementing a shared counter architecture is provided. The method may include receiving, by a worker thread, an application request; recording, by a common timer thread, a shared timer value and acquiring, by the worker thread, the shared timer value. The method may further include recording, by the common timer thread, a shared calibration factor; acquiring, by the worker thread, a configuration value corresponding to the application request and generating, by the worker thread, a calibrated timeout interval for the application request based on the shared calibration factor, the shared timer value, and the configuration value. The method may further include registering, by the worker thread, the calibrated timeout interval for the application request on a current timeout list; determining, by the common timer thread, a timeout occurrence for the application request based on the registered calibrated timeout interval; and releasing resources based on the timeout occurrence.
机译:提供了一种用于实现共享计数器体系结构的处理器实现的方法。该方法可以包括:通过工作线程接收应用请求;以及由公共计时器线程记录共享计时器值,并由工作线程获取共享计时器值。该方法可以进一步包括:通过公共定时器线程来记录共享的校准因子;以及所述工作线程获取与所述应用请求对应的配置值,所述工作线程根据所述共享的校准因子,所述共享的定时器值以及所述配置值生成所述应用请求的校准超时间隔。该方法可以进一步包括:由工作线程在当前超时列表上注册用于应用程序请求的校准超时间隔;以及通用定时器线程根据注册的校准超时间隔,确定应用请求的超时发生;并根据超时发生释放资源。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号