https://bz.apache.org/ooo/show_bug.cgi?id=126869
--- Comment #67 from Arrigo Marchiori <[email protected]> --- (In reply to Peter from comment #66) > Thanks the information on Windows. I did not look on the OS dependency. > And on first glance we should get to the same position fairly quickly. The > WindowsCode issues a SALCALLBACK_SHUTDOWN, which I suspect ends up in the > chain in unx code follows. Hopefully... sorry I never looked into this. > However I am not sure on Windows behavior. > This code what does it do? Does it stop the main thread for a while before > moving on? > > 6105 else > 6106 { > 6107 ImplSalYieldMutexAcquireWithWait(); > 6108 ImplSalYieldMutexRelease(); > 6109 rDef = TRUE; > 6110 } > > I am still looking at: > http://opengrok.openoffice.org/openoffice/xref/aoo41x/main/vcl/win/source/ > window/salframe.cxx#6113 Those two function calls are the same as the beginning and end of function ImplHandleShutDownMsg(), called a few lines above the snippet. I understand they acquire and release a mutex. So the snippet only waits, if someone else has acquired the mutex at that time. I hope this helps. -- You are receiving this mail because: You are the assignee for the issue.
