It all depends on the details of what you want to achieve, but in the simplest case something along these lines?
ref = @spawn someGUIstuff() othercomputations() guiresult = fetch(ref) This will move the work to one of the workers (if there are any available, see addprocs()). Something similar can be done using tasks on the local process: @sync begin r = @async someGUIstuff() othercomputations() end println(r.result) Am 20.08.2015 um 13:30 schrieb Andreas Lobinger <[email protected]>: > Hello colleagues, > > i'd like to ask for som pointers (in documentation or example which already > use/do this) for the following concept: > fork processing (one shot) while continue running a program. > > Maybe multitasking, maybe multithreading, but what i want to do is to spin > off some calculations at one time (GUI: pressing a button) and not waiting > for the result to be calculated but revisit the result later. I read into the > Tasks&Parallel computing chapter in the std. lib, but it looks like i have to > take care about scheduling? > > Any hint appreciated. > > Wishing a happy day, > Andreas
