File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
programming/tasks-and-events Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -169,3 +169,13 @@ build Panda3D yourself if you want to take advantage of true threading.
169
169
If you wish to disable threading, you can pass the option
170
170
``--override HAVE_THREADS=UNDEF `` to makepanda.py. If you wish to use the simple
171
171
threading model, you may pass ``--override SIMPLE_THREADS=1 `` instead.
172
+
173
+ Debugging Threading Bugs
174
+ ------------------------
175
+
176
+ Due to the nature of threading-related bugs, it can be very difficult to track
177
+ down the source of a problem if a piece of code is crashing due to a threading
178
+ problem. It may be useful to recompile Panda3D with the ``DEBUG_THREADS=1 ``
179
+ option enabled. This will enable various debug checking tools that will alert
180
+ you of incorrect use of threading, rather than crashing. However, there is a
181
+ significant performance cost associated with this option.
You can’t perform that action at this time.
0 commit comments