c++ - calling Beginwaitcursor function from worker thread in MFC -
can me in understanding worker threads in vc++(mfc)? following workerthread function
uint threadfunc(lpvoid pparam) { // initialization... etc.. afxgetapp()->beginwaitcursor(); ... .. /// operations afxgetapp()->end waitcursor(); }
is okay call waitcursor() functions worker thread?
the documentation available beginwaitcursor
, endwaitcursor
make no mention of issues related threading.
the 1 thing mentioned,
the actions of beginwaitcursor not effective outside of single message handler other actions, such onsetcursor handling, change cursor.
other threads can change cursor while worker thread working.
Comments
Post a Comment