Monday, April 1, 2019

Questions regarding threads in wxWidgets

Since I was experiencing threads-related problems when updating grids widgets, I am wondering what is the simplest solution to avoid data corruption when multiple threads modify/read widgets data.

I am reading some C++ 11 book, it says std::mutex/std::recursive mutex is a decent solution to my problem, so is stick to wxWidgets in-build thread functions a better solution since the in-build wrapper/helper functions should be more noob-friendly?

Thanks again


from Windows Central Forums https://ift.tt/2Ueecut
via IFTTT

No comments:

Post a Comment