On Fri, 26 Apr 2013 17:10:56 GMT, Jack Applegame wrote:

Is there a simple way to pass a data (string for example) from one task to another task? I found vibe.core.signal module. It looks like core.sync.condition of Phobos, but anyway I can't understand how to use it. Would you please give a basic example?

The git master version (I'll also put out a new release shortly) has a new module vibe.core.concurrency which includes a message passing interface that is API compatible to std.concurrency. There is also a simple example (in "examples/message"), but the Phobos documentation should apply as well in most cases.

The Signal class in vibe.core.signal is now named ManualEvent to avoid confusion with other kinds of signals (e.g. std.signals.Signal). It is mostly a low level synchronization primitive and not directly useful for passing data (there is also TaskCondition, which is a slightly higher level synchronization primitive that works like a core.sync.condition.Condition and is usually better than using ManualEvent directly).