, // params[2] - main function tid
}
I got the answer from stackoverflow @
https://stackoverflow.com/questions/28128383/worker-is-not-finished-while-sending-message-to-intermediate-worker.
But the person who answered my question asked me to post back to
dlang learn to learn more about it. As I
On 02/09/2015 11:46 AM, Ali Çehreli wrote:
threads normally start one [or] more worker threads and
send tasks to those threads
Accordingly, the following program uses just three threads:
import std.stdio;
import std.concurrency;
import std.conv;
import core.thread;
struct Terminate
{}
void
On Monday, 9 February 2015 at 20:11:09 UTC, Ali Çehreli wrote:
On 02/09/2015 11:46 AM, Ali Çehreli wrote:
threads normally start one [or] more worker threads and
send tasks to those threads
Accordingly, the following program uses just three threads:
import std.stdio;
import std.concurrency;
On 02/09/2015 12:34 PM, xtreak wrote:
I want the stringConverter to send a message to square which in
turn messages the main function with string hello.
Your code did almost that but there was a bug (which I've pointed out).
So are you saying that message is not delivered to square from
], stringified); // params[0] - square
function tid, // params[2] - main function tid
}
I got the answer from stackoverflow @
https://stackoverflow.com/questions/28128383/worker-is-not-finished-while-sending-message-to-intermediate-worker.
But the person who answered my question asked me to post back