【24h】

Y-Threads: Supporting Concurrency in Wireless Sensor Networks

机译:Y线程:无线传感器网络中支持并发

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

摘要

Resource constrained systems often are programmed using an event-based model. Many applications do not lend themselves well to an event-based approach, but preemptive multithreading pre-allocates resources that cannot be used even while not in use by the owning thread. In this paper, we propose a hybrid approach called Y-Threads. Y-Threads provide separate small stacks for blocking portions of applications, while allowing for shared stacks for non-blocking computations. We have implemented Y-Threads on Mica and Telos wireless sensor network platforms. The results show that Y-Threads provide a preemptive multithreaded programming model with resource utilization closer to an event-based approach. In addition, relatively large memory buffers can be allocated for temporary use with less overhead than conventional dynamic memory allocation methods.
机译:资源受限的系统通常使用基于事件的模型进行编程。许多应用程序不太适合采用基于事件的方法,但是抢占式多线程会预先分配即使在拥有线程不使用时也无法使用的资源。在本文中,我们提出了一种称为Y线程的混合方法。 Y线程提供单独的小堆栈用于阻塞应用程序的某些部分,同时允许共享堆栈用于非阻塞计算。我们已经在Mica和Telos无线传感器网络平台上实现了Y-Threads。结果表明,Y线程提供了一种抢占式多线程编程模型,其资源利用率接近于基于事件的方法。另外,与常规的动态存储器分配方法相比,可以以较小的开销分配相对较大的存储器缓冲区以供临时使用。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号