summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/sync
AgeCommit message (Expand)AuthorLines
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-4/+4
2024-09-02chore: Fix typos in 'compiler' (batch 1)Alexander Cyon-4/+4
2024-07-29Reformat `use` declarations.Nicholas Nethercote-24/+24
2024-05-30Apply x clippy --fix and x fmtr0cky-1/+1
2024-03-20Workaround for rustdoc bug in new betaMark Rousskov-0/+1
2024-03-04Rollup merge of #120976 - matthiaskrgr:constify_TL_statics, r=lcnrMatthias Krüger-1/+1
2024-02-15Use generic `NonZero` internally.Markus Reiter-3/+3
2024-02-12constify a couple thread_local staticsMatthias Krüger-1/+1
2023-11-23Enforce NonZeroUsize on thread countMark Rousskov-4/+7
2023-11-14Fix some typoscui fliter-2/+2
2023-11-09Auto merge of #117557 - Zoxc:panic-prio, r=petrochenkovbors-13/+26
2023-11-03Make `FatalErrorMarker` lower priority than other panicsJohn Kåre Alsaker-13/+26
2023-11-03Use `filter_map` in `try_par_for_each_in`Josh Stone-7/+6
2023-10-20Avoid a `track_errors` by bubbling up most errors from `check_well_formed`Oli Scherer-0/+29
2023-09-25Rename `cold_path` to `outline`John Kåre Alsaker-6/+2
2023-09-11Rollup merge of #115548 - Zoxc:parallel-extract, r=wesleywiserMatthias Krüger-0/+188
2023-09-11Auto merge of #115388 - Zoxc:sharded-lock, r=SparrowLiibors-188/+187
2023-09-09Use `FreezeLock` for `CStore`John Kåre Alsaker-16/+45
2023-09-08Add Freeze::cloneJohn Kåre Alsaker-0/+10
2023-09-08Remove the `LockMode` enum and `dispatch`John Kåre Alsaker-102/+74
2023-09-08Refactor `Lock` implementationJohn Kåre Alsaker-240/+208
2023-09-08Add optimized lock methods for `Sharded`John Kåre Alsaker-14/+73
2023-09-07Use `Freeze` for `SourceFile.lines`John Kåre Alsaker-0/+12
2023-09-07Use `Freeze` for `SourceFile.external_src`John Kåre Alsaker-3/+44
2023-09-06Use a reference to the lock in the guardsJohn Kåre Alsaker-15/+14
2023-09-06Extract parallel operations in `rustc_data_structures::sync` into a new `para...John Kåre Alsaker-0/+188
2023-09-02Rename `Freeze` to `FreezeLock`John Kåre Alsaker-7/+7
2023-09-02Add some commentsJohn Kåre Alsaker-1/+4
2023-09-02Use `RwLock` for `Freeze`John Kåre Alsaker-8/+10
2023-09-02Add `Freeze` type and use it to store `Definitions`John Kåre Alsaker-0/+104
2023-08-30Use conditional synchronization for LockJohn Kåre Alsaker-3/+279
2023-08-22Fix races conditions with `SyntaxContext` decodingJohn Kåre Alsaker-0/+6
2023-08-01Rollup merge of #114283 - oli-obk:parkin_lot_rwlock, r=SparrowLiiMatthias Krüger-21/+7
2023-08-01Always use parking_lot's RwLock, even without parallel compilerOli Scherer-21/+7
2023-07-31remove repetitive wordscui fliter-1/+1
2023-05-18Remove unused `impl<T> WorkerLocal<Vec<T>>`.Nicholas Nethercote-7/+0
2023-04-27Auto merge of #107782 - Zoxc:worker-local, r=cjgillotbors-0/+180
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-04-16Move the WorkerLocal type from the rustc-rayon fork into rustc_data_structuresJohn Kåre Alsaker-0/+180
2023-04-09Fix some clippy::complexityNilstrieb-1/+1
2023-04-04Another AppendOnlyVecOli Scherer-10/+21
2023-04-04Replace another lock with an append-only vecOli Scherer-0/+16
2023-04-04Remove a lock in favor of an AppendOnlyVecOli Scherer-2/+7
2023-04-04Add a usize-indexed append-only-vecOli Scherer-2/+34
2023-02-21Use a lock-free datastructure for `source_span`Oli Scherer-0/+41