delorie.com/archives/browse.cgi | search |
On Fri, Jul 19, 2002 at 10:30:06PM -0400, Christopher Faylor wrote: >>So the locking needs some changing in the dll linkage code. There is >>in fact a comment above dll_func_load that the code may not be thread >>safe! > >Right. > >What two threads are accessing this info simultaneously? It's probably >easier to fix that than to introduce locking. I'd still like to find what threads are simultaneously looking for the same info but, in the meantime, I've rewritten that particular section of code so that there is only one memory write, which should be thread safe. Does it work any better now? cgf
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |