Ticket #418 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

Protect client registration session (regc) with mutex

Reported by: bennylp Owned by: bennylp
Priority: major Milestone: release-0.9.0
Component: pjsip Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description (last modified by bennylp) (diff)

The original idea of not using mutex in regc was because operations should be serialized by 8-bit boolean flags, and (I heard) operation to 8-bit variables should be atomic. But it seems that with recent modifications/bug fixes in regc, this rule may not hold anymore (such as the timer, which I think was added only quite recently).

Change History

comment:1 Changed 9 years ago by bennylp

  • Priority changed from normal to major

comment:2 Changed 9 years ago by bennylp

  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)

Done in r1992

Note: See TracTickets for help on using tickets.