Ticket #2159 (closed defect: fixed)

Opened 9 days ago

Last modified 9 days ago

Add synchronization for Endpoint::libRegisterThread()

Reported by: ming Owned by: bennylp
Priority: normal Milestone: release-2.9
Component: pjsua2 Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

Currently libRegisterThread() is not thread-safe. The access to the thread descriptor map needs to be protected in order to avoid data race.

Change History

comment:1 Changed 9 days ago by ming

  • Status changed from new to closed
  • Resolution set to fixed

In 5904:

Fixed #2159: Add synchronization for Endpoint::libRegisterThread()

Note: See TracTickets for help on using tickets.