Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 75eec19ee8e3a316a6747b988eadebdeed9c035a
      
https://github.com/Perl/perl5/commit/75eec19ee8e3a316a6747b988eadebdeed9c035a
  Author: Tony Cook <t...@develop-help.com>
  Date:   2024-08-07 (Wed, 07 Aug 2024)

  Changed paths:
    M dist/threads/lib/threads.pm
    M dist/threads/threads.xs

  Log Message:
  -----------
  threads.xs: only access the pool values when we hold the mutex

Coverity complained specifically about accessing detached_threads and
joinable_threads since we consistently otherwise hold the mutex when
accessing them, but this code accesses those values for the warning
without the mutex held.

running_threads has a similar issue.

fixes cid 498878, cid 498883



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to