Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

introduce chunk._getitem_r(...), a thread-safe version of chunk._getitem(...) #160

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Mar 8, 2015

  1. introduce chunk._getitem_r(...), a thread-safe version of chunk._geti…

    …tem(...)
    
    `chunk._getitem(...)` depends on and modifies instance attributes of `chunk`.
    The consequence is that in multi-threaded applications access to the `chunk`
    instance has to be controlled by locking which prevent multi-threaded code
    based on bcolz from scaling appropriately with the number of processors.
    
    The introduced function `chunk._getitem_r(...)` provides the same functionality
    without requiring the GIL or any locking to protect instance attributes. This
    allows writing efficient multi-threaded cython algorithms based on bcolz.
    ARF committed Mar 8, 2015
    Configuration menu
    Copy the full SHA
    da95b29 View commit details
    Browse the repository at this point in the history
  2. release gil in chunk._getitem(..)

    ARF committed Mar 8, 2015
    Configuration menu
    Copy the full SHA
    f3b4e35 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2015

  1. Merge tip

    ARF committed Mar 10, 2015
    Configuration menu
    Copy the full SHA
    9790989 View commit details
    Browse the repository at this point in the history