openvino/tests
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
..
appverifier_tests add test for thread local (#21976) 2024-04-25 06:51:08 +00:00
asan Enhance sanitizer build (#23330) 2024-03-14 07:50:02 +00:00
conditional_compilation copyright year update (#23370) 2024-03-14 09:37:02 +00:00
e2e_tests [MO] Remove test-generator dependency (#24576) 2024-05-20 15:55:16 +00:00
fuzz Fuzzer test print ASAN file path used for OV build (#24508) 2024-05-15 16:55:10 +00:00
layer_tests Added quantized_decomposed quantization unit tests (#24388) 2024-05-23 10:15:11 +00:00
lib Use custom TBB even on Linux (#24359) 2024-05-17 09:07:41 +04:00
lsan [CI] [GHA] Enable sanitizers (#22628) 2024-03-15 13:46:51 +00:00
memory_tests copyright year update (#23370) 2024-03-14 09:37:02 +00:00
model_hub_tests [PT FE] Fix regression in easyocr model (#24586) 2024-05-20 16:51:30 +00:00
samples_tests copyright year update (#23370) 2024-03-14 09:37:02 +00:00
stress_tests [core] fix thread safe issue in #19832 (#24562) 2024-05-23 11:47:57 +00:00
time_tests copyright year update (#23370) 2024-03-14 09:37:02 +00:00
utils 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
constraints.txt [MO] Remove test-generator dependency (#24576) 2024-05-20 15:55:16 +00:00