ovilab / atomify

Atomify - a realtime LAMMPS visualizer
GNU General Public License v3.0
151 stars 21 forks source link

Move all particle data pipeline processing to worker thread #212

Closed andeplane closed 7 years ago

andeplane commented 8 years ago

Right now, parts of the GUI synchronization happens in the sync function blocking GUI, but this should happen on worker thread.

andeplane commented 8 years ago

What do we do with updating variables across threads? If the system size (QVector3D) is updated, will we get any problems if we do emit systemSizeChanged(m_systemSize) on worker thread?

andeplane commented 7 years ago

Bonds and sphere creating is now on worker thread. Computes are on worker thread, but variables are on synch thread. This is now moved to 2.1.