gtkd and threads
Hi,
this is not a problem in grestful, but perhaps you find the time to help me out a little bit. I want to do a small application in dlang + gtkd myself. There will be background tasks / threads that need to get the data back to the gtk mainthread. I saw, that you put your Requests into a dlang taskpool (Request.d:256). Then you execute the request and call respective callbacks (e.g. ProgressCallback). This is then simply a dlang delegate in Class.d:1027 that calls directly requestLoadingProgressBar.setFraction. I wonder now, if this is corret, because setFraction is called from the dlang-threadcontext.
What did I miss? Could you please explain?
Another related question. Did you try to use gtkd's Task to do background work?