-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We use `jl_rec_backtrace()` which tries to set the task's tid to the current thread before gathering the backtrace. This will fail for tasks that are sticky to another thread as their tid is never reset. However, for `jl_print_task_backtraces()`, we aren't concerned about thread safety since we assume that all threads are stopped so we add a flag to `jl_rec_backtrace()` to ignore the task's tid. With this, `jl_print_task_backtraces()` should now only miss tasks that are currently executing on threads other than the calling thread.
- Loading branch information
Showing
1 changed file
with
29 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters