Skip to content

[MRG] deadlock between async dispatch and exception handling#296

Merged
lesteve merged 1 commit into
joblib:masterfrom
ogrisel:fix-deadlock
Jan 13, 2016
Merged

[MRG] deadlock between async dispatch and exception handling#296
lesteve merged 1 commit into
joblib:masterfrom
ogrisel:fix-deadlock

Conversation

@ogrisel

@ogrisel ogrisel commented Jan 13, 2016

Copy link
Copy Markdown
Contributor

This is a fix for a deadlock identified in #295.

@ogrisel

ogrisel commented Jan 13, 2016

Copy link
Copy Markdown
Contributor Author

Yes it works. @lesteve merge?

@ogrisel ogrisel added this to the 0.9.4 milestone Jan 13, 2016
@aabadie

aabadie commented Jan 13, 2016

Copy link
Copy Markdown
Contributor

LGTM. just curious, are you sure that removing the lock won't introduce other problems ?

@lesteve

lesteve commented Jan 13, 2016

Copy link
Copy Markdown
Member

LGTM. just curious, are you sure that removing the lock won't introduce other problems ?

That was the discussion we were having but it looks like @ogrisel is confident the lock wasn't necessary.

Let's merge this one then, thanks !

lesteve added a commit that referenced this pull request Jan 13, 2016
[MRG] deadlock between async dispatch and exception handling
@lesteve lesteve merged commit c60d263 into joblib:master Jan 13, 2016
@ogrisel

ogrisel commented Jan 13, 2016

Copy link
Copy Markdown
Contributor Author

LGTM. just curious, are you sure that removing the lock won't introduce other problems ?

I don't understand why I decided to use the lock there in the first place: we destroy the pool instance and therefore stop all its thread without waiting for them to complete.

ogrisel added a commit that referenced this pull request Jan 18, 2016
yarikoptic added a commit to yarikoptic/joblib that referenced this pull request Sep 30, 2016
* tag '0.9.4': (46 commits)
  Release 0.9.4
  DOC add missing changelog entry for joblib#296
  DOC add entry to changelog for joblib#294
  ENH spare one file descriptor / syscall in automemmap
  FIX auto-memmap gc bug by always hashing arrays
  TST non-regression test for auto-memmap / gc bug
  Add link to github issues for 0.9.4 changelog entries
  Fix my_exceptions._mk_exception when input exception is not inheritable
  add entry in changelog
  fixing hashing with mixed dtype + test
  Use _compat.PY3_OR_LATER where possible
  COSMIT fix some PEP8 horizontal misalignments
  Move definition of PY3_OR_LATER to _compat.py
  Do not use inspect.getargspec
  FIX joblib#295: deadlock between async dispatch and exception handling
  Add section in CHANGES.rst
  TRAVIS use numpy 1.10
  FIX style and pyflakes in test_pool.py
  Fix Parallel hanging with exhausted iterator
  remove useless section about versions of python prior to 2.6
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants