1. Sep 26, 2019
  2. Sep 25, 2019
  3. Sep 24, 2019
    • Pawel Karczewski's avatar
      Use templates instead of compile params for mutex in hashmap · 6c7218b9
      Pawel Karczewski authored
      Change lock implementation in hashmap to use templates instead of
      compile time parameter.
      
      Changes are related to pretty complicated c++ syntax for
      template derived class using a member it inherits from its template base class.
      Coding convention is:
      * To get types defined in base class in derived class
              using name_of_type = typename base_class::name_of_type
      * To get access to methods defined in base class
              using base_class:method_name
      * To get access to fields defined in base class
              this->field_name
      
      As hash_map_node_base is now template, it's impossible to determine type
      of empty_bucket defined in way it was until now - so now it's removed.
      IMHO checking if node is nullptr is cleaner than comparing it to
      empty_bucket(which is nullptr anyway)
      6c7218b9
    • Pawel Karczewski's avatar
    • Pawel Karczewski's avatar
      Remove is_valid methods from conurrent hashmap · 23471305
      Pawel Karczewski authored
      Those functions are redundant, and contain no more needed
      compartions pointer to 63. Aplication logic without such calls seems to
      be little bit more readable
      23471305
    • Igor Chorazewicz's avatar
      concurrent_hash_map: remove wrong assert in get_node method · 45b6ec8e
      Igor Chorazewicz authored
      Condition in the assert is not guaranteed to be true - it was
      added by mistake in: 7d7eebac
      45b6ec8e
    • Pawel Karczewski's avatar
      Move shared_mutex_scoped_lock to experimental namespace · 6358d6c3
      Pawel Karczewski authored
      It's needed to be used by user as template parameter.
      
       pmem::obj::experimental::internal::shared_mutex_scoped_lock ->
       pmem::obj::experimental::shared_mutex_scoped_lock
      
      This change may be not displayed properly by git.
      Try:
      git show SHA --anchored="namespace"
      6358d6c3
  4. Sep 20, 2019
  5. Sep 19, 2019
  6. Sep 18, 2019
  7. Sep 17, 2019
  8. Sep 16, 2019
  9. Sep 14, 2019
  10. Sep 13, 2019
  11. Sep 12, 2019
    • Pawel Karczewski's avatar
      Optimize hashmap tests time on drd · e9d85b40
      Pawel Karczewski authored
      Decrease number of concurrent threads in concurrent hashmap tests if run under
      drd. It fix timeout issue during travis builds.
      Varialbe "On_drd" is exposed by unittest library.
      e9d85b40