| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-11-07 | Rollup merge of #66146 - 3442853561:patch-2, r=Mark-Simulacrum | Yuki Okushi | -2/+2 | |
| Remove unused parameters in `__thread_local_inner` Fixes #65993. | ||||
| 2019-11-07 | Try with crate::error::Error | Pyry Kontio | -1/+1 | |
| 2019-11-06 | Update local.rs | 3442853561 | -2/+2 | |
| Removed parameters not used in the macro | ||||
| 2019-11-06 | Fix the Error linking. | Pyry Kontio | -1/+1 | |
| 2019-11-06 | Addressed review comments. | Pyry Kontio | -6/+6 | |
| 2019-11-05 | Improve std::thread::Result documentation | Pyry Kontio | -0/+12 | |
| 2019-10-22 | Apply clippy::single_match suggestion | Mateusz Mikuła | -3/+2 | |
| 2019-10-05 | Rollup merge of #64765 - alexcrichton:less-check-backtrace, r=sfackler | Tyler Mandry | -3/+0 | |
| std: Reduce checks for `feature = "backtrace"` This is a stylistic change to libstd to reduce the number of checks of `feature = "backtrace"` now that we unconditionally depend on the `backtrace` crate and rely on it having an empty implementation. otherwise. | ||||
| 2019-09-25 | std: Reduce checks for `feature = "backtrace"` | Alex Crichton | -3/+0 | |
| This is a stylistic change to libstd to reduce the number of checks of `feature = "backtrace"` now that we unconditionally depend on the `backtrace` crate and rely on it having an empty implementation. otherwise. | ||||
| 2019-09-16 | updated the panic message wording | Tomas Tauber | -1/+1 | |
| 2019-09-15 | Made a thread local storage panic message more explanatory | Tomas Tauber | -2/+2 | |
| (TLS is usually understood as Transport Layer Security outside rust-std internals) | ||||
| 2019-08-05 | Auto merge of #61491 - stjepang:impls-for-accesserror, r=dtolnay | bors | -0/+5 | |
| Add a few trait impls for AccessError | ||||
| 2019-08-04 | Add #[stable] to Error impl | Stjepan Glavina | -0/+1 | |
| 2019-07-27 | Remove run-pass test suites | Vadim Petrochenkov | -1/+1 | |
| 2019-06-20 | Add a few trait impls for AccessError | Stjepan Glavina | -0/+4 | |
| 2019-06-20 | Auto merge of #60341 - mtak-:macos-tlv-workaround, r=alexcrichton | bors | -107/+183 | |
| macos tlv workaround fixes: #60141 Includes: * remove dead code: `requires_move_before_drop`. This hasn't been needed for a while now (oops I should have removed it in #57655) * redox had a copy of `fast::Key` (not sure why?). That has been removed. * Perform a `read_volatile` on OSX to reduce `tlv_get_addr` calls per `__getit` from (4-2 depending on context) to 1. `tlv_get_addr` is relatively expensive (~1.5ns on my machine). Previously, in contexts where `__getit` was inlined, 4 calls to `tlv_get_addr` were performed per lookup. For some reason when `__getit` is not inlined this is reduced to 2x - and performance improves to match. After this PR, I have only ever seen 1x call to `tlv_get_addr` per `__getit`, and macos now benefits from situations where `__getit` is inlined. I'm not sure if the `read_volatile(&&__KEY)` trick is working around an LLVM bug, or a rustc bug, or neither. r? @alexcrichton | ||||
| 2019-05-15 | fix wasm unused import in thread local implementation | tyler | -1/+0 | |
| 2019-05-15 | llvm makes good inlining choices with only the #[cold] attribute | tyler | -19/+15 | |
| 2019-05-15 | remove trailing whitespace | tyler | -1/+1 | |
| 2019-05-15 | cold was necessary on try_initialize_nodrop to get more straight line asm | tyler | -0/+1 | |
| 2019-05-15 | - remove unnecessary inlines | tyler | -21/+18 | |
| - add comment explaining that the fast::Key data structure was carefully constructed for fast access on OSX - remove inline(never) from the initializer for types where `needs_drop::<T>()` is false | ||||
| 2019-05-15 | add #[allow(unused)] | tyler | -0/+1 | |
| 2019-05-15 | restructure thread_local! for better codegen (especially on macos) | tyler | -97/+188 | |
| 2019-05-15 | Revert "ensure fast thread local lookups occur once per access on macos" | tyler | -6/+5 | |
| This reverts commit d252f3b77f3b7d4cd59620588f9d026633c05816. | ||||
| 2019-05-15 | ensure fast thread local lookups occur once per access on macos | tyler | -5/+6 | |
| 2019-05-15 | remove dead code: requires_move_before_drop | tyler | -12/+3 | |
| 2019-05-04 | Fix intra-doc link resolution failure on re-exporting libstd | Taiki Endo | -0/+1 | |
| 2019-04-18 | Use more realistic example for thread builder | Aleksey Kladov | -1/+1 | |
| Stack size of 10 **bytes** does not make any sense: the minimal possible stack size is greater anyway. | ||||
| 2019-04-10 | Eliminate `FnBox` usages from libstd. | CrLF0710 | -2/+3 | |
| 2019-03-31 | libstd: deny(elided_lifetimes_in_paths) | Mazdak Farrokhzad | -8/+8 | |
| 2019-03-27 | Rollup merge of #59460 - xfix:include-id-in-thread-debug, r=Amanieu | Josh Stone | -1/+4 | |
| Include id in Thread's Debug implementation Since Rust 1.19.0, `id` is a stable method, so there is no reason to not include it in Debug implementation. | ||||
| 2019-03-27 | Include id in Thread's Debug implementation | Konrad Borowski | -1/+4 | |
| Since Rust 1.19.0, id is a stable method, so there is no reason to not include it in Debug implementation. | ||||
| 2019-03-26 | Auto merge of #59136 - jethrogb:jb/sgx-std-test, r=sanxiyn | bors | -4/+7 | |
| SGX target: fix std unit tests This fixes some tests and some code in the SGX sys implementation to make the `std` unit test suite pass. #59009 must be merged first. | ||||
| 2019-03-25 | SGX target: fix std unit tests | Jethro Beekman | -4/+7 | |
| 2019-03-20 | Add a test for size_of Option<ThreadId> | Simon Sapin | -1/+7 | |
| 2019-03-19 | Make Option<ThreadId> no larger than ThreadId, with NonZeroU64 | Simon Sapin | -3/+4 | |
| 2019-03-03 | race condition in thread local storage example | benaryorg | -1/+4 | |
| The example had a potential race condition that would still pass the test. If the thread which was supposed to modify it's own thread local was slower than the instruction to modify in the main thread, then the test would pass even in case of a failure. This is would be minor if the child thread was waited for since it check using an `assert_eq` for the same thing, but vice versa. However, if the `assert_eq` failed this would trigger a panic, which is not at all caught by the example since the thread is not waited on. Signed-off-by: benaryorg <binary@benary.org> | ||||
| 2019-03-02 | Bootstrap compiler update for 1.35 release | Mark Rousskov | -6/+2 | |
| 2019-02-28 | libstd => 2018 | Taiki Endo | -52/+52 | |
| 2019-02-12 | Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnik | bors | -1/+1 | |
| Cosmetic improvements to doc comments This has been factored out from https://github.com/rust-lang/rust/pull/58036 to only include changes to documentation comments (throughout the rustc codebase). r? @steveklabnik Once you're happy with this, maybe we could get it through with r=1, so it doesn't constantly get invalidated? (I'm not sure this will be an issue, but just in case...) Anyway, thanks for your advice so far! | ||||
| 2019-02-11 | Require a list of features to allow in `allow_internal_unstable` | Oliver Scherer | -2/+6 | |
| 2019-02-10 | tests: doc comments | Alexander Regueiro | -1/+1 | |
| 2019-01-22 | Print a slightly clearer message when failing to spawn a thread | Jethro Beekman | -1/+1 | |
| 2019-01-15 | OSX: fix #57534 registering thread dtors while running thread dtors | tyler | -7/+1 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -20/+0 | |
| 2018-12-10 | Auto merge of #56157 - RalfJung:park, r=nagisa | bors | -5/+22 | |
| expand thread::park explanation Cc @carllerche @parched @stjepang | ||||
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -6/+6 | |
| 2018-12-06 | Change sys::Thread::new to take the thread entry as Box<dyn FnBox() + 'static>̣ | Jethro Beekman | -3/+19 | |
| 2018-12-03 | improve wording | Ralf Jung | -3/+4 | |
| 2018-11-27 | Fix small typo in comment | Marius Nuennerich | -1/+1 | |
