This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/blenlib
Martin Poirier 9004dc665c Fix thread hanging problem (mostly seen with material preview, but that sneaky f*er could strike any time).
Story time: Once upon a time, in the green valley of fileselect, BLI_end_threads would get called on an empty threadbase, depending on the result of a previous call to readdir(). The function would then gladly decrement thread_level to -1 which would cause all kinds of fun havoc. THE END.

Made sure thread_level is only incremented and decremented when needed. The caller should never have to make sure of that, especially since it already lets you call with a null threadbase.

Please report any further hang (and how to reproduce, if possible).
2009-09-02 20:57:18 +00:00
..
2009-04-28 17:25:50 +00:00
2009-07-18 23:12:42 +00:00
2.5
2009-01-17 14:56:12 +00:00
2008-12-29 13:38:08 +00:00
2.5
2009-07-13 00:40:20 +00:00
2008-05-27 13:22:17 +00:00
2007-11-06 22:29:20 +00:00
2009-07-25 22:20:26 +00:00
2009-06-23 00:09:26 +00:00
2009-06-23 00:09:26 +00:00
2009-06-23 00:09:26 +00:00
2008-12-20 10:02:00 +00:00
2009-07-26 18:52:27 +00:00
2009-06-22 18:19:18 +00:00
2009-06-23 00:09:26 +00:00
2.5
2009-06-08 10:00:14 +00:00
2009-08-20 00:33:59 +00:00
2009-07-20 10:24:53 +00:00