Fiber based UI-Toolkit
bauss via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Jul 9 14:12:24 PDT 2017
On Sunday, 9 July 2017 at 19:43:14 UTC, Christian Köstlin wrote:
> I wonder if there is any fiber based / fiber compatible
> UI-Toolkit out for dlang. The second question is, if it would
> make sense at all to have such a thing?
>
> christian
It doesn't really make sense to have that, because most (if not
all) operating systems only allow rendering from a single thread
and I believe OSX (possibly macOS too.) only allows it from the
main thread. Which means the only thing you can really operate on
other threads are events, but you'll always have to do callbacks
to your UI thread in order to render.
More information about the Digitalmars-d-learn
mailing list