Feedback will be sent to Microsoft: By pressing the submit button, your feedback will be used to improve Microsoft products and services. Privacy policy. Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. Is this page helpful?
Yes No. Any additional feedback? I've been splunking around Dll loading recently for a pet project. It's been an interesting journey and this evening I solved the final piece of the puzzle and, when I did, I suddenly wondered, not for the first time, why Windows holds the loader lock when calling DllMain Categories : Geek Speak , Lock Explorer.
Len September 10, AM Reply. Len March 26, PM Reply. Jonathan Thanks. Dou October 17, AM Reply. Len October 17, PM Reply. Leave a comment.
Email Address. Remember personal info? Subscribe to this blog's feed Follow me on Twitter: LenHolgate. About this Entry WTF? Recent Entries Be careful what you ask for Strangely fatal UDP issue on Windows Practical Testing: 38 - Bringing the code up to date, again I am trying to build google breakpad for windows. I don't get it.
I tried installed autoconf and m4 for Windows which seems to work. But running m I believe it is the latest one and was automatically updated by When I run the compiled executable straight from the command line, everything is I have several deployment projects. In order to deploy an application, I need to do several tasks, one of them is to change each deployment project's I'm using the Devenv from the command prompt. Every time a new update is released for an application with click once, the variables in the app.
Ask Question. Asked 8 years, 11 months ago. Active 9 months ago. Viewed 9k times. Improve this question. Although, perhaps they were talking about LoaderLock , which I found via "google". Loader lock doesn't actually have anything to do with threads, although they don't exactly help avoid it. Deadlock is a generic threading problem. HansPassant Yes i understand what a dead lock is. I am just trying to wrap my head around, what exactly is LoaderLock. Is it a special lock or what — brainydexter.
It is just a lock inside the Windows loader, held when it calls a DllMain entrypoint and ensures DllMain calls are serialized. It is not re-entrant so doesn't require a thread to bite.
You can always see it back in the stack trace, LdrLockLoaderLock is at the top of the stack if you really have a problem. Thanks HansPassant. That helped — brainydexter. Add a comment.
0コメント