umka-lang
umka-lang copied to clipboard
actually concurrent fibers
In proped, I need to open a file dialog and keep redrawing the host program. As far as I know this isn't possible with fibers. Would it be possible to add a new function that would run the fiber in a new thread on OSes that support it?
@marekmaskarinec Do you mean that the file dialog blocks the main application when run in the same OS thread? If so, then you cannot process them simultaneously with Umka fibers.
Introducing "true" OS threads in Umka would be very attractive for many reasons, including taking advantage of the CPU architectures. However, it would require much more synchronization efforts than the current "cooperative" multitasking needs.