c++ - In wxwidgets, how do I lock a vector that is shared between gui thread and worker thread? -


If I can not lock on a mute x in the main application thread (my event handler because you can not lock main gia Thread), how can I share any information between my worker and my main thread?

Just your worker bag communicates with the main thread through event handling system. Use to send status messages back to the main thread and handle updates.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -