How to replace the main thread with custom thread

Heromyth bitworld at qq.com
Sun May 5 05:54:15 UTC 2019


On Sunday, 5 May 2019 at 05:49:07 UTC, Heromyth wrote:
> We have made some extensions to std.thread.
> See: 
> https://github.com/huntlabs/hunt/blob/master/source/hunt/concurrency/thread/ThreadEx.d.
>
> All the threads except the main thread now can be created with 
> ThreadEx.
>
> My question is how can I create the main thread with ThreadEx. 
> Is it possible or necessary?
> Should I modify std.thread and rebuild the Phobos?
>
> Thanks.

It's so sad. The std.thread should be core.thread.


More information about the Digitalmars-d-learn mailing list