Setting the value
gui.crt_text[1] = "xyz"
lacks a @everywhere, this works as you expected:
@everywhere function run_gui()
cond = true
while(cond)
println(gui.crt_text[1])
@everywhere gui.crt_text[1] = "xyz"
sleep(0.5)
cond = gui.cond[1] #the actual gui will have a CImGUI dedicated close button
end
return nothing
end