opencv/modules/gapi
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
..
cmake Added rmat.cpp and media.cpp to files being built in standalone 2020-11-06 01:59:09 +03:00
doc Merge pull request #18387 from dmatveev:dm/slides_upd_44 2020-09-26 20:59:26 +00:00
include/opencv2 Merge pull request #18674 from anna-khakimova:ak/backgroundSubtractor 2020-11-30 18:09:42 +00:00
misc/python Merge pull request #18762 from TolyaTalamanov:at/support-garray 2020-11-27 17:39:46 +00:00
perf G-API: Introduced a Text Detection sample 2020-10-21 17:25:56 +03:00
samples Merge pull request #18716 from dmatveev:dm/upstream_onnx 2020-11-03 18:39:16 +00:00
scripts Added a script to measure & report privacy masking camera performance in different configurations 2020-07-08 19:19:37 +03:00
src Merge pull request #18674 from anna-khakimova:ak/backgroundSubtractor 2020-11-30 18:09:42 +00:00
test TBB executor for GAPI: fix race consition in Async test 2020-12-01 11:12:36 +03:00
CMakeLists.txt Merge pull request #17851 from anton-potapov:sole_tbb_executor 2020-11-30 13:15:13 +00:00