From 2f7fbc306431a02a6f247148ebbda17b4c2d98f7 Mon Sep 17 00:00:00 2001
From: Benoit Germain
- This document was revised on 17-Jun-14, and applies to version 3.9.6. + This document was revised on 18-Sep-14, and applies to version 3.9.7.
@@ -1291,6 +1291,14 @@ events to a common Linda, but... :). The full list of active timers can be obtained. Obviously, this is a snapshot, and non-repeating timers might no longer exist by the time the results are inspected. ++ void = lanes.sleep( [seconds|false]) + |
+ (Since version 3.9.7) A very simple way of sleeping when nothing else is available. Is implemented by attempting to read some data in an unused channel of the internal linda used for timers (this linda exists even when timers aren't enabled). + Default duration is null, which should only cause a thread context switch. +