http://d.puremagic.com/issues/show_bug.cgi?id=1001



--- Comment #35 from Sean Kelly <s...@invisibleduck.org> 2011-01-20 15:40:41 
PST ---
(In reply to comment #33)
> For a win32 stacktrace (XP+) you might check my project on this:
> 
> http://3d.benjamin-thaut.de/?p=15

Thanks!  I've noticed that the code doesn't have a Boost-compatible copyright. 
Would you be averse to changing this so some derivative could be used in
druntime?  I also found this in the MSDN docs:

"All DbgHelp functions, such as this one, are single threaded. Therefore, calls
from more than one thread to this function will likely result in unexpected
behavior or memory corruption. To avoid this, you must synchronize all
concurrent calls from more than one thread to this function."

http://msdn.microsoft.com/en-us/library/ms681327(v=vs.85).aspx

I guess that means that the stack trace generation on Windows will have to be
wrapped in a synchronized block.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to