summaryrefslogtreecommitdiff
path: root/rust/kernel/sync (follow)
Commit message (Expand)AuthorAgeFilesLines
* rust: rename `Ref` to `Arc`Wedson Almeida Filho2022-10-052-151/+151
* rust: use `<>` link style in comments tooMiguel Ojeda2022-08-011-1/+1
* treewide: other `rustfmt`-inspired cleanupsMiguel Ojeda2022-08-011-1/+1
* rust: kernel: `rustfmt` documentation examples cleanupsMiguel Ojeda2022-08-013-5/+5
* rust: kernel: use `# Examples` consistentlyMiguel Ojeda2022-08-011-1/+1
* rust: kernel: use `core::ffi` instead of `kernel::c_types`Miguel Ojeda2022-06-301-7/+7
* rust: hide `bindings::lock_class_key` from driversWedson Almeida Filho2022-06-068-73/+47
* rust: add basic rcu supportWedson Almeida Filho2022-05-311-0/+52
* Merge pull request #780 from wedsonaf/static-refWedson Almeida Filho2022-05-311-2/+81
|\
| * rust: add `StaticRef`Wedson Almeida Filho2022-05-311-2/+81
* | rust: fix English typos found by `checkpatch.pl`Miguel Ojeda2022-05-282-2/+2
|/
* rust: automatically provide `use kernel::prelude::*` for doctestsMiguel Ojeda2022-05-054-7/+0
* rust: kernel: review doctests now that they run in the kernelMiguel Ojeda2022-05-056-43/+56
* rust: support running documentation tests in-kernelMiguel Ojeda2022-05-051-2/+2
* rust: add async tcp connection supportWedson Almeida Filho2022-04-261-1/+1
* rust: add `NoWaitLock`Wedson Almeida Filho2022-04-261-0/+188
* rust: generalise `RevocableMutex` to any synchronisation primitiveWedson Almeida Filho2022-04-074-186/+341
* rust: split `CreatableLock` into `LockFactory` and `LockIniter`Wedson Almeida Filho2022-04-056-48/+62
* rust: add `RawSpinLock`Wedson Almeida Filho2022-03-291-0/+163
* rust: move `net` and `sync` modules to uniquely-named filesWedson Almeida Filho2022-03-281-158/+0
* rust: add a simple Rust mutex implementationWedson Almeida Filho2022-03-172-0/+284
* rust: move error codes to the `error::code` moduleWedson Almeida Filho2022-03-151-3/+3
* rust: simplify spin lock implementation by splitting acquisition typesWedson Almeida Filho2022-02-162-30/+40
* rust: define `LockInfo` trait that lock "type states" must implementWedson Almeida Filho2022-02-167-29/+51
* rust: use `.init_array` instead of `.ctors` in `init_static_sync`Wedson Almeida Filho2022-02-011-1/+1
* Merge pull request #641 from wedsonaf/static-mutexWedson Almeida Filho2022-01-275-5/+68
|\
| * rust: add support for static synchronisation primitivesWedson Almeida Filho2022-01-225-5/+68
* | rust: add abstraction for `rw_semaphore`Wedson Almeida Filho2022-01-182-0/+149
|/
* rust: simplify lock guards by using marker typesWedson Almeida Filho2022-01-178-85/+54
* rust: kernel: allow a few `non_send_fields_in_send_ty` Clippy casesMiguel Ojeda2022-01-133-0/+3
* rust: fix drop in `RevocableMutex`Wedson Almeida Filho2022-01-101-4/+4
* Update arc.rsHsiang-Cheng Yang2021-12-301-1/+1
* docs: Fix typo in doc linkDaniel Xu2021-12-291-1/+1
* rust: add `RevocableMutex`.Wedson Almeida Filho2021-11-262-0/+186
* rust: kernel: use unit struct instead of `()`Miguel Ojeda2021-11-251-3/+6
* rust: use generic associated types (GATs) to implement `PointerWrapper`.Wedson Almeida Filho2021-11-171-16/+54
* rust: remove all usages of `try_new_and_init` and `pin_init_and_share`.Wedson Almeida Filho2021-11-151-29/+3
* Merge pull request #553 from wedsonaf/pin-uniquerefWedson Almeida Filho2021-11-151-0/+15
|\
| * rust: add functions to pin `UniqueRef` and convert it to `Ref`.Wedson Almeida Filho2021-11-151-0/+15
* | rust: remove instances of `Pin<Ref<T>>`.Wedson Almeida Filho2021-11-151-6/+0
|/
* rust: Add support for irqsave/irqrestore variant of spin lock/unlock.Wedson Almeida Filho2021-11-065-15/+102
* Introduce `Opaque` type and use it in `sync` module.Wedson Almeida Filho2021-11-055-29/+24
* rust: add `SeqLock`.Wedson Almeida Filho2021-10-216-33/+341
* rust: rename `Guard` to `GuardMut`.Wedson Almeida Filho2021-10-156-23/+23
* rust: make `Lock` trait unsafe.Wedson Almeida Filho2021-10-153-3/+10
* rust: add `UniqueRef`.Wedson Almeida Filho2021-10-142-18/+159
* rust: implement `TryFrom<Vec<T>>` for `Ref<[T]>`.Wedson Almeida Filho2021-10-141-2/+43
* rust: switch away from `Box` in `Ref` implementation.Wedson Almeida Filho2021-10-141-11/+26
* rust: use the generated helper bindingsGary Guo2021-08-245-40/+13
* Merge pull request #454 from wedsonaf/guard-stateWedson Almeida Filho2021-08-204-14/+22
|\