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/intern
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-01-17 00:51:42 +00:00
2009-08-15 16:36:25 +00:00
2009-08-09 21:16:39 +00:00
2009-06-23 00:09:26 +00:00
2009-06-23 00:09:26 +00:00
2009-07-28 18:07:00 +00:00
2009-01-17 00:51:42 +00:00
2009-06-13 11:09:13 +00:00
2006-01-23 22:05:47 +00:00
2009-05-05 23:10:32 +00:00
2008-04-29 08:24:33 +00:00
2.5
2009-05-24 13:29:29 +00:00
2009-08-14 13:13:36 +00:00
2009-06-23 00:09:26 +00:00
2009-01-17 00:51:42 +00:00