Skip to content
  • Marcin Babij's avatar
    a8dcfe2e
    Bug #32252477 RW_LOCK COULD STORE AND PRINT INFO ON S-LATCHER, IF THERE IS A SINGLE ONE · a8dcfe2e
    Marcin Babij authored
    We spend additional size_of(std::thread::id) bytes to gather sum (or xor) of reader thread IDs. In case there is only one, we will have the reliable thread ID value retrieved to present to user. Note this will not be the last thread that took S-latch, but the one that really is still holding the S-latch.
    os_thread_id and other members of thread0os.h was removed and replaced with standard's std::thread and std::this_thread infrastructure.
    Added a unit test with a general execute_multithreaded_phase_plan() allowing to prepare and execute multi-threaded test plan.
    
    RB#25661
    a8dcfe2e
    Bug #32252477 RW_LOCK COULD STORE AND PRINT INFO ON S-LATCHER, IF THERE IS A SINGLE ONE
    Marcin Babij authored
    We spend additional size_of(std::thread::id) bytes to gather sum (or xor) of reader thread IDs. In case there is only one, we will have the reliable thread ID value retrieved to present to user. Note this will not be the last thread that took S-latch, but the one that really is still holding the S-latch.
    os_thread_id and other members of thread0os.h was removed and replaced with standard's std::thread and std::this_thread infrastructure.
    Added a unit test with a general execute_multithreaded_phase_plan() allowing to prepare and execute multi-threaded test plan.
    
    RB#25661
Loading