Amanieu d'Antras
2b7ea29f4d
Merge pull request #265 from d3lm/fix/instant-and-smid
...
Remove instant dummy and update to latest wasm32 simd intrinsics
2020-12-04 19:45:42 +00:00
Amanieu d'Antras
74bbb8f5b6
Merge pull request #266 from emilio/master
...
core: Use a weaker dependency on smallvec.
2020-12-04 19:44:06 +00:00
Emilio Cobos Álvarez
e36de8bafe
core: Use a weaker dependency on smallvec.
...
Smallvec 1.4 regresses performance in Firefox, so while we fix it it'd
be nice to be able to not use the new version. parking_lot is not using
try_reserve so it can live with 1.0.
2020-12-04 19:02:19 +01:00
Dominic Elm
f86700f9ac
Remove instant dummy and update to latest wasm32 simd intrinsics
2020-12-04 18:01:46 +01:00
Amanieu d'Antras
4c9bad4963
Merge pull request #263 from messense/rm-cloudabi
...
Drop support for cloudabi
2020-11-24 13:25:42 +00:00
messense
1acde21013
Drop support for cloudabi
...
rustc has already dropped support for all cloudabi targets: https://github.com/rust-lang/rust/pull/78439
2020-11-24 10:50:36 +08:00
Amanieu d'Antras
cefb768c74
Release parking_lot 0.11.1 and lock_api 0.4.2
2020-11-18 02:01:54 +00:00
Amanieu d'Antras
46abf260e7
Merge pull request #262 from Amanieu/guard_sync
...
Fix bounds on Send and Sync impls for lock guards
2020-11-17 23:39:14 +00:00
Amanieu d'Antras
a3ddc6ce41
Merge pull request #260 from Amanieu/rwlock_ordering
...
RawRwLock::wait_for_readers needs an Acquire to synchronize with unlock_shared
2020-11-17 23:02:31 +00:00
Amanieu d'Antras
2baa663109
Fix bounds on Send and Sync impls for lock guards
...
Fixes #258
Fixes #259
2020-11-17 22:59:06 +00:00
Amanieu d'Antras
495cb04c3c
RawRwLock::wait_for_readers needs an Acquire to synchronize with unlock_shared
...
Fixes #257
2020-11-08 21:44:43 +00:00
Amanieu d'Antras
0bfe1762ab
Merge pull request #256 from nico-abram/srw
...
Add winapi srwlock to benchmarks
2020-10-27 14:55:53 +00:00
unknown
cbc434d31b
Add winapi srwlock to benchmarks
2020-10-27 11:29:34 -03:00
Amanieu d'Antras
d35fc259b6
Merge pull request #253 from mbrubeck/deps
...
Update to cfg-if 1.0
2020-10-12 21:05:24 +01:00
Matt Brubeck
f5d14cce7b
Update to cfg-if 1.0
2020-10-12 11:08:34 -07:00
Amanieu d'Antras
da5a1729c1
Merge pull request #252 from fusion-engineering-forks/miri-issues
2020-10-03 17:47:16 +01:00
Mara Bos
0d5d00c17c
Remove cloudabi from CI.
...
Cloudabi is no longer available from rustup, as it has been moved to
tier 3.
2020-10-03 16:39:40 +02:00
Mara Bos
4139aaee34
Explicitly yield in test_condvar_requeue, to make it work on Miri.
2020-10-03 13:46:47 +02:00
Mara Bos
f5fd6052e1
Don't leak a forever-blocked thread in test_rwlock_recursive.
2020-10-03 13:46:16 +02:00
Amanieu d'Antras
47f7a6b323
Bump lock_api version to 0.4.1
2020-07-06 10:09:20 +02:00
Amanieu d'Antras
eb940f7c3f
Merge pull request #247 from mystor/data_ptr
2020-07-06 09:05:52 +01:00
Nika Layzell
8282caa578
update doc comment for review changes
2020-07-05 19:26:12 -04:00
Nika Layzell
a3b4a489b4
lock_api: Allow unsafely accessing data without a guard
2020-07-04 16:15:43 -04:00
Amanieu d'Antras
672a7ac4ee
Bump versions of all crates
2020-06-23 19:31:28 +01:00
Amanieu d'Antras
6358555ac7
Upgrade dependencies
2020-06-23 19:31:16 +01:00
Amanieu d'Antras
ce0008be59
Clarify wording around throughput vs fairness
...
Fixes #202
2020-06-23 19:21:35 +01:00
Amanieu d'Antras
0fd93c40c3
Merge pull request #243 from brain0/unlock_unsafe
2020-06-18 09:35:30 +01:00
Thomas Bächler
75d1acf818
Fix incorrect doc comments.
2020-06-17 23:07:35 +02:00
Thomas Bächler
f7b467de8b
Fix doc tests.
2020-06-17 23:07:35 +02:00
Thomas Bächler
c966a9ad81
lock_api: Make all methods of the RawRwLock* traits that assume a lock is being held unsafe.
2020-06-17 23:07:33 +02:00
Thomas Bächler
5c22955e4d
lock_api: Make RawMutexFair::unlock_fair() and RawMutexFair::bump() unsafe.
2020-06-17 23:07:04 +02:00
Thomas Bächler
ef544f9996
lock_api: Make RawMutex::unlock() unsafe.
...
Unlocking a Mutex that you do not hold is likely to cause undefined behavior. If unlock()
is a safe method, then it likely impossible to provide a sound and efficient implemention
of the method. Since this API is usually only called by the lock_api Mutex structs, this
change should be invisible to the users, but clarifies what guarantees implementers must make.
2020-06-17 23:07:04 +02:00
Amanieu d'Antras
2e21e8bd5e
Merge pull request #244 from Amanieu/remove-mapped-downgrade
2020-06-11 11:56:37 +01:00
Amanieu d'Antras
735be6198e
Remove deprecated and unsound MappedRwLockWriteGuard::downgrade
2020-06-11 10:52:24 +01:00
Amanieu d'Antras
d52208d1c4
Merge pull request #241 from mettke/master
...
Updating cloudabi to 0.1
2020-06-06 18:17:04 +01:00
Marc Mettke
31e93f0b18
Updating cloudabi to 0.1
...
`cloudabi::subscription`.`type_` got renamed to
`cloudabi::subscription`.`type`
2020-06-06 16:01:41 +02:00
Amanieu d'Antras
b9fe4576a7
Merge pull request #240 from Amanieu/send_guard
2020-05-30 16:56:59 +01:00
Amanieu d'Antras
ba1fce9859
Update README.md
...
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com >
2020-05-30 14:11:55 +01:00
Amanieu d'Antras
15858b2cae
Fix CI
2020-05-30 14:09:12 +01:00
Amanieu d'Antras
25903dd024
Add missing #[inline]
2020-05-29 01:04:53 +01:00
Amanieu d'Antras
ffeceb96e7
Allow lock guards to be sent to other threads
...
But only if deadlock detection is not enabled.
Fixes #197
2020-05-29 01:04:24 +01:00
Amanieu d'Antras
09116205ff
Remove broken android and redox targets from CI
2020-05-28 00:48:13 +01:00
Amanieu d'Antras
eaa356e908
Add missing doc comment
2020-05-27 23:59:23 +01:00
Amanieu d'Antras
1d6b9beed8
Merge pull request #237 from coolreader18/raw-re-is_locked
2020-05-24 13:13:08 +01:00
Noah
bed050dcb5
Make RawReentrantMutex::is_locked pub
2020-05-23 18:31:16 -05:00
Amanieu d'Antras
b8543a2ba7
Merge pull request #233 from coolreader18/pub-raw-reentrant
2020-05-19 09:42:22 +01:00
Amanieu d'Antras
b644ca77f4
Merge pull request #235 from coolreader18/raw-is-locked
2020-05-19 09:34:46 +01:00
Noah
59148d7dde
Make RawReentrantMutex public
2020-05-18 17:25:44 -05:00
Noah
55adf3644e
Provide an implementation for parking_lot::RawRwLock::is_locked
2020-05-18 16:51:35 -05:00
Noah
6832166aa7
Simplify RawReentrantMutex::is_locked()
2020-05-18 14:29:50 -05:00