Opened 10 years ago

Closed 10 years ago

#1821 closed enhancement (fixed)

Remove unnecessary locking in pjsip transaction and add new API to create a group lock with handler in a single atomic instruction

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

Description

When creating a pjsip transaction with new group lock, it is not necessary to acquire the lock. An advantage of doing this is prevent the establishment of lock ordering, which can later be picked up by thread detection analysis tool as violation of lock ordering.

Change History (1)

comment:1 Changed 10 years ago by ming

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

In 4992:

Fixed #1821: Remove unnecessary locking in pjsip transaction and add new API to create a group lock with handler in a single atomic instruction

Note: See TracTickets for help on using tickets.