opencv/modules
Anton Potapov eb6d8e6af2 TBB executor for GAPI: fix race consition in Async test
The test has race condition, which is addressed by the patch.

The race is next:

    Master thread is calling execute (effectively blocked, waiting for
callback to be called)
    "Async" thread picks up the callback
    Call the callback
    Then sets the variables in test
    After call back is called, master thread is unblocked and may check
the variables (set in point 4 by the "async" thread) earlier then they
actually changed

Changes:

    callback should be called as the last step (after flag variables are
    set), as it effectively unblock the master thread

fixes #18974
2020-12-01 11:12:36 +03:00
..
calib3d calib3d: eliminate 'register' build warning 2020-11-20 20:32:59 +00:00
core Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2020-11-27 14:08:06 +00:00
dnn Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2020-11-27 14:08:06 +00:00
features2d Merge pull request #18924 from alalek:4.x-xcode12 2020-11-26 22:56:59 +00:00
flann Merge pull request #18243 from alalek:static_code_fixes 2020-09-02 22:50:00 +00:00
gapi TBB executor for GAPI: fix race consition in Async test 2020-12-01 11:12:36 +03:00
highgui Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2020-11-20 20:32:00 +00:00
imgcodecs Merge pull request #18826 from Rightpoint:feature/colejd/build-catalyst-xcframework 2020-11-24 21:54:54 +00:00
imgproc objc: rework headers import 2020-11-15 05:24:01 +00:00
java java: workaround handling of base class 2020-11-16 06:03:30 +00:00
js Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2020-10-26 20:07:47 +00:00
ml Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2020-09-28 21:33:29 +00:00
objc Merge pull request #18826 from Rightpoint:feature/colejd/build-catalyst-xcframework 2020-11-24 21:54:54 +00:00
objdetect Fix issues found by static analysis 2020-11-11 13:59:01 +03:00
photo Add Objective-C/Swift wrappers for opencv_contrib modules 2020-07-21 19:19:08 +09:00
python pre: OpenCV 4.5.1 (version++) 2020-11-18 11:04:54 +00:00
stitching Merge pull request #18335 from chargerKong:master 2020-11-19 16:59:33 +00:00
ts Merge pull request #18924 from alalek:4.x-xcode12 2020-11-26 22:56:59 +00:00
video Merge pull request #18838 from alalek:video_tracking_api 2020-11-18 11:04:15 +00:00
videoio Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2020-11-27 14:08:06 +00:00
world Merge pull request #13422 from mshabunin:split-videoio-cmake 2018-12-26 15:50:20 +03:00
CMakeLists.txt