首页> 外文期刊>Software >Signals, timers, and continuations for multithreaded user-level protocols
【24h】

Signals, timers, and continuations for multithreaded user-level protocols

机译:多线程用户级协议的信号,计时器和延续

获取原文
获取原文并翻译 | 示例
       

摘要

Precise timing and asynchronous I/O are appealing features for many applications. Unix kernels provide such features on a per-process basis, using signals to communicate asynchronous events to applications. Per-process signals and timers are grossly inadequate for complex multithreaded applications that require per-thread signals and timers that operate at finer granularity. To respond to this need, we present a scheme that integrates asynchronous (Unix) signals with user-level threads, using the Ariadne system as a platform. This is done with a view towards support for portable, multithreaded, and multiprotocol distributed applications, namely the CLAM (connectionless, lightweight, and multiway) communications library. In the same context, we propose the use of continuations as an efficient mechanism for reducing thread context-switching and busy-wait overheads in multithreaded protocols. Our proposal for integrating timers and signal-handling mechanisms not only solves problems related to race conditions, but also offers an efficient and flexible interface for timing and signalling threads.
机译:精确的定时和异步I / O是许多应用程序的吸引人的功能。 Unix内核使用信号将异步事件传达给应用程序,从而在每个进程的基础上提供此类功能。对于需要以更细粒度运行的单线程信号和计时器的复杂多线程应用程序,单进程信号和计时器是严重不足的。为了满足这种需求,我们提出了一种方案,该方案使用Ariadne系统作为平台,将异步(Unix)信号与用户级线程集成在一起。这样做是为了支持便携式,多线程和多协议分布式应用程序,即CLAM(无连接,轻量级和多路)通信库。在同一上下文中,我们建议使用延续作为减少多线程协议中的线程上下文切换和繁忙等待开销的有效机制。我们提出的将计时器和信号处理机制集成在一起的建议不仅解决了与竞争条件有关的问题,而且还为定时和信令线程提供了高效灵活的接口。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号