Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move and extend impls for locking primitives #290

Merged
merged 3 commits into from
Dec 31, 2019
Merged

Move and extend impls for locking primitives #290

merged 3 commits into from
Dec 31, 2019

Conversation

NikVolf
Copy link
Contributor

@NikVolf NikVolf commented Dec 21, 2019

  • they probably should be under "std" feature flag, not "ethereum"
  • std::sync::RwLock impl was missing

Copy link
Member

@ordian ordian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we remove "parking_lot" from ethereum-impls features?
https://github.com/paritytech/parity-common/pull/290/files#diff-a6e9f06585ce3cce1d6deea24a49aeb1R46
Looks good otherwise.

@NikVolf
Copy link
Contributor Author

NikVolf commented Dec 22, 2019

@ordian addressed

@NikVolf
Copy link
Contributor Author

NikVolf commented Dec 25, 2019

@dvdplm pls add a 2nd review?

Copy link
Contributor

@dvdplm dvdplm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned on #291 I just want to make sure that's we're fine to stop using the Servo version we copy&pasted. I think @cheme did that originally; I do not know if "upstream" is maintaining the code. Regardless we need to clean up

// This file is patched at commit 5bdea7dc1c80790a852a3fb03edfb2b8fbd403dc DO NOT EDIT.

A part from that lgtm.

@NikVolf
Copy link
Contributor Author

NikVolf commented Dec 30, 2019

@dvdplm I added comment, let me know if there is anything else I can do

@dvdplm
Copy link
Contributor

dvdplm commented Dec 30, 2019

let me know if there is anything else I can do

We'll need to make a proper changelog entry but as there are several PRs in-flight atm I guess it's fine to do one pre-release PR where we write this down along all the rest.

@NikVolf NikVolf merged commit f71d33f into master Dec 31, 2019
@NikVolf NikVolf deleted the nv-mem-utils branch December 31, 2019 13:17
dvdplm added a commit that referenced this pull request Jan 14, 2020
* master: (27 commits)
  update parity-util-mem (#309)
  Update features and feature dependencies (#307)
  Use proper memory queries to rocksdb (#308)
  Draft version updates and changelog (#299)
  Use custom error type for `from_hex` (#305)
  Fix typo. (#303)
  kvdb: remove KeyValueDBHandler (#304)
  extract common kvdb tests into a crate (#301)
  Expose to_hex and from_hex from impl-serde (#302)
  Add a top level function to parity-util-mem (#298)
  I/O statistic for key-value databases (#294)
  use for_tuples (#300)
  Add memory extensions for LRUCache, hashbrown (#293)
  Add memory stats for kvdb-s (#292)
  Provide #[derive(MallocSizeOf)] that is actually working (#291)
  Move and extend impls for locking primitives (#290)
  Update uint README (#288)
  Update README.md (#287)
  [ci]: remove feature flags in virtual workspace (#289)
  Prepare releases (#286)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants