servo/components/util
bors-servo 695a2559a8 Auto merge of #11132 - mbrubeck:workqueue-panic, r=larsbergstrom
Fix integer overflow in next_power_of_two

This causes a panic (debug) or incorrect results (release) when initializing a work queue with thread_count = 1.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11132)
<!-- Reviewable:end -->
2016-05-12 00:35:05 -07:00
..
cache.rs Upgrade to new Hasher API 2016-02-03 20:06:39 +01:00
Cargo.toml Update lazy_static, selectors, string_cache, futf, quickersort 2016-05-02 16:05:31 -07:00
debug_utils.rs Issue #9042: Report incorrect number of spaces around => in the style checker. 2015-12-23 20:54:26 +01:00
geometry.rs Say farewell to in-tree HeapSizeOf 2016-02-04 22:03:32 +01:00
ipc.rs Update ipc-channel to pick up the improved error reporting. 2015-11-23 16:38:39 -08:00
lib.rs Auto merge of #10847 - servo:rustup-20160424, r=nox 2016-04-26 14:41:54 -07:00
linked_list.rs util: Remove the old broken SerializableLinkedList code in favor of 2015-07-31 08:42:29 -07:00
non_geckolib.rs Say farewell to in-tree HeapSizeOf 2016-02-04 22:03:32 +01:00
opts.rs added infrastructure to handle interval and CSV time profiling alongside html-timeline-profiling 2016-05-11 11:27:07 -07:00
panicking.rs Communicate a backtrace to the constellation when panicking. 2016-04-26 11:31:36 -05:00
prefs.rs Share prefs to content processes 2016-04-12 09:26:30 +02:00
print_tree.rs Flatten display list structure 2016-03-01 14:50:07 -08:00
resource_files.rs Remove references to unused crates. 2016-04-22 22:20:06 +02:00
str.rs Use byte indices instead of char indices for text runs 2016-04-28 14:32:14 -07:00
thread.rs Communicate a backtrace to the constellation when panicking. 2016-04-26 11:31:36 -05:00
thread_state.rs Upgrade to bitflags 0.6.0 and selectors 0.5.6 2016-04-30 10:14:03 -07:00
tid.rs task -> thread 2016-01-10 17:58:13 +09:00
time.rs Use thread::sleep instead of deprecated sleep_ms 2015-11-29 13:41:04 -07:00
vec.rs Remove util::vec::Comparator 2016-03-01 14:28:16 +01:00
workqueue.rs Fix integer overflow in next_power_of_two 2016-05-11 09:06:26 -07:00