openethereum/ethcore
mattrutherford ec886ddefb
LenCachingMutex (#9988)
New util LenCachingMutex can be used in place of a Mutex, when working
with collections, or other types with a len() method. When
the Guard is dropped, the value returned from len() is stored
into an AtomicUsize and can be queried using load_len() without
needing to lock the Mutex. Implementations for ```Vec``` and
```VecDeque```.

Now used in [Verification](4ded4181a6/ethcore/src/verification/queue/mod.rs (L196)) so that calls to ```VerificationQueue.queue_info()```
no longer require locks.
2018-12-04 14:30:52 +00:00
..
benches Clean up existing benchmarks (#9839) 2018-11-06 21:22:44 +08:00
evm Use expect (#9883) 2018-11-09 14:54:23 +03:00
light Adjust requests costs for light client (#9925) 2018-11-21 20:11:01 +01:00
node_filter new ethabi (#9511) 2018-09-13 11:04:39 +02:00
private-tx Version and notification for private contract wrapper added (#9761) 2018-12-03 19:44:36 +00:00
res Remove tendermint engine support (#9980) 2018-11-29 06:47:11 +08:00
service Improve block and transaction propagation (#9954) 2018-11-28 11:30:05 +01:00
src LenCachingMutex (#9988) 2018-12-04 14:30:52 +00:00
stratum Replace tokio_core with tokio (ring -> 0.13) (#9657) 2018-10-22 09:40:50 +02:00
sync Remove tendermint engine support (#9980) 2018-11-29 06:47:11 +08:00
transaction Allow zero chain id in EIP155 signing process (#9792) 2018-10-26 22:44:02 +08:00
types Update a few parity-common dependencies (#9663) 2018-10-09 22:07:25 +02:00
vm Use signed 256-bit integer for sstore gas refund substate (#9746) 2018-10-15 17:09:55 +08:00
wasm Add a optional json dump state to evm-bin (#9706) 2018-11-25 20:12:59 +01:00
Cargo.toml LenCachingMutex (#9988) 2018-12-04 14:30:52 +00:00