Uh oh!
There was an error while loading. Please reload this page.
Revert "n-api: detect deadlocks in thread-safe function" - #32880
Revert "n-api: detect deadlocks in thread-safe function"#32880gabrielschulhof wants to merge 1 commit into
Conversation
This reverts commit aeb7084. The solution creates incorrect behaviour on Windows. Re: nodejs/node-addon-api#697 (comment) Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com>
gabrielschulhof
commented
Apr 16, 2020
Let's revert this until we come up with a better solution in #32860. |
nodejs-github-bot
commented
Apr 16, 2020
nodejs-github-bot
commented
Apr 16, 2020
richardlau
commented
Apr 16, 2020
aeb7084 went out in 13.13.0. Is the issue serious enough that this revert should be pulled into 14.0.0 or can it wait for the next patch release? cc FYI @BethGriggs |
addaleax
commented
Apr 16, 2020
@richardlau I would pull it into v14.0.0. As a revert, this is very low-risk. |
gabrielschulhof
commented
Apr 16, 2020
@richardlau the issue is pretty serious. On Windows a secondary thread will receive a heretofore unseen non-ok status message even though it would not have caused a deadlock. This is just plain wrong. Pulling this out of v14.0.0 is definitely warranted IMO. |
gabrielschulhof
commented
Apr 16, 2020
@richardlau to be clear: I strongly believe that this PR should be a part of v14.0.0. |
richardlau
commented
Apr 16, 2020
That's fine, I just wanted to make sure that @BethGriggs was aware of it if that was the case. |
This reverts commit aeb7084. The solution creates incorrect behaviour on Windows. Re: nodejs/node-addon-api#697 (comment) Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com> PR-URL: #32880 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
gabrielschulhof
commented
Apr 16, 2020
Landed in d3d5eca. |
This reverts commit aeb7084. The solution creates incorrect behaviour on Windows. Re: nodejs/node-addon-api#697 (comment) Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com> PR-URL: #32880 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
This reverts commit aeb7084. The solution creates incorrect behaviour on Windows. Re: nodejs/node-addon-api#697 (comment) Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com> PR-URL: nodejs#32880 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
This reverts commit aeb7084. The solution creates incorrect behaviour on Windows. Re: nodejs/node-addon-api#697 (comment) Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com> PR-URL: #32880 Backport-PR-URL: #32948 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
This reverts commit aeb7084.
The solution creates incorrect behaviour on Windows.
Re: nodejs/node-addon-api#697 (comment)
Signed-off-by: @gabrielschulhof
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes