Launch and obtain thread output during compile time

data pulverizer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Aug 13 00:37:15 PDT 2017


Hi all,

Is it possible to launch/spawn a thread/fibre or some other 
appropriate item and obtain an immutable/enum or some appropriate 
output at compile-time? For instance return an immutable(string) 
from the external thread to be used as the input to a template 
parameter or a CTFE function. To be clear the thread carries out 
run-time processing e.g. reading a file.

Thanks in advance.


More information about the Digitalmars-d-learn mailing list