PieterTack / polycap

Polycapillary X-ray raytracing
GNU General Public License v3.0
3 stars 3 forks source link

Rewrite OpenMP parts with POSIX threads #16

Open tschoonj opened 6 years ago

tschoonj commented 6 years ago

This affects polycap_source_get_transmission_efficiencies. While the rewrite itself is not necessary for the 1.0 release, we should already add an argument polycap_monitor that will allow us to kill the calculation or fetch its progress. Implementation and definition of this new struct are not required at this point, but it should be declared in order not to break API in a later release.

tschoonj commented 4 years ago

This should still be done, but since the conda build uses MSVC to compile polycap, we cannot use POSIX threads. Best to switch to using Glib and its GThreads model to avoid having to do this using two threading APIs...