openvino/tests/stress_tests/common
Yuan Hu 1a4ae5e7a3
[core] fix thread safe issue in #19832 (#24562)
### Details:
- *I lost code `t_stream_count_map[(void*)this] = item.first;` in
#19832*
 - *the thread safe issue happen in below workflow*
 - create thread A
call CustomThreadLocal:local() in thread A -> create stream A (the count
of stream A is 2)
   destory thread A (the count of stream A is 1)
   create thread B (same thread id with thread A)
call CustomThreadLocal:local() in thread B -> use stream A(the count of
stream A is 1, so it's broken)
- *add testcase, also fix
https://github.com/openvinotoolkit/openvino/pull/19986/files#r1332774754*

### Tickets:
 - Closes https://github.com/openvinotoolkit/openvino/issues/24509

---------

Signed-off-by: HU Yuan2 <yuan2.hu@intel.com>
Co-authored-by: Wanglei Shen <wanglei.shen@intel.com>
2024-05-23 11:47:57 +00:00
..
ie_pipelines [core] fix thread safe issue in #19832 (#24562) 2024-05-23 11:47:57 +00:00
infer_api [core] fix thread safe issue in #19832 (#24562) 2024-05-23 11:47:57 +00:00
managers copyright year update (#23370) 2024-03-14 09:37:02 +00:00
CMakeLists.txt copyright year update (#23370) 2024-03-14 09:37:02 +00:00
tests_utils.cpp copyright year update (#23370) 2024-03-14 09:37:02 +00:00
tests_utils.h copyright year update (#23370) 2024-03-14 09:37:02 +00:00
utils.cpp copyright year update (#23370) 2024-03-14 09:37:02 +00:00
utils.h copyright year update (#23370) 2024-03-14 09:37:02 +00:00