send doesn't work

Era Scarecrow via Digitalmars-d digitalmars-d at puremagic.com
Wed Nov 16 02:54:32 PST 2016


On Tuesday, 15 November 2016 at 16:36:00 UTC, unDEFER wrote:
> The parent thread has the next code to receive it and handle:
> receiveTimeout( dur!"hnsecs"(1),
>                 (Tid tid)
>                 {//the message from child thread handler} );

  I just have to wonder every time I look at this... how long is 1 
hnsecs? I'd assume not very long. Either blocking unless there's 
no more messages, or having a longer timeout period seems a 
better bet.

  Might make it 1-5ms.


More information about the Digitalmars-d mailing list