This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/88400] address-sanitizer on the cpu with only one core, may deadlock


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88400

--- Comment #4 from hhj <He.Hongjun at zte dot com.cn> ---
(In reply to Andrew Pinski from comment #3)
> Also this seems like it is an upstream issue too.

This is how we handle it.
When the parent's sched_priority isn't sam as the children's
  1 If the parent's sched_priority is greater than the children's, raising the
children's sched_priority. After register children, restore the children's
sched_priority.
  2 If children's sched_priority is greater than the parent's, raising the
parent's sched_priority. After register children, restore the parent's
sched_priority.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]