# Using Makie.jl multithreaded

**URL:** <https://discourse.julialang.org/t/using-makie-jl-multithreaded/29968>\
**Category:** Performance\
**Tags:** plotting\
**Created:** [October 16, 2019, 2:43am UTC](https://discourse.julialang.org/t/using-makie-jl-multithreaded/29968 "2019-10-16T02:43:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fishy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fishy/32/10822_2.png) [@fishy](https://discourse.julialang.org/u/fishy)\
**Post date:** [October 16, 2019, 2:43am UTC](https://discourse.julialang.org/t/using-makie-jl-multithreaded/29968/1 "2019-10-16T02:43:01Z")

</div>

I am using Julia for a 6DOF vehicle simulation which is _just_ fast enough to run in real-time. After performing a simulation I am visualising the results using Makie.jl.  
To demo the simulator I have modified it to accept control input from a USB controller, this is currently working and working in real-time too. When visualising the results afterwards this is able to happen in real time. (To clarify, I mean that one second of simulation time is equal to one second of real time). What I haven’t been able to do (nicely) is have both of these at the same time. There isn’t quite enough overhead so that the visualisation and simulation can occur simultaneously. I have some ideas on how to make it work, notably to run the visualisation in another thread. Does anyone know if that is possible?
