diff options
| author | bors <bors@rust-lang.org> | 2017-07-21 04:49:00 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-07-21 04:49:00 +0000 |
| commit | d361efac2639fa9dd7f6195e4276a728b8875d7a (patch) | |
| tree | 30994df2e955eb884b436abbbbc07760e0668818 /src/libstd/thread | |
| parent | e3c8433ebb4a1acf125cae34ebd910869c894ebd (diff) | |
| parent | 8416713240e11e898872f5028f927997f3754696 (diff) | |
| download | rust-d361efac2639fa9dd7f6195e4276a728b8875d7a.tar.gz rust-d361efac2639fa9dd7f6195e4276a728b8875d7a.zip | |
Auto merge of #43318 - jhjourdan:jh/fix_weak_cound_MAX, r=alexcrichton
Fix in weak_count in Arc in the case the weak count is locked. In the case the weak count was locked, the weak_count function could return usize::MAX. We need to test this condition manually.
Diffstat (limited to 'src/libstd/thread')
0 files changed, 0 insertions, 0 deletions
