Opened 12 years ago

Closed 11 years ago

#418 closed defect (fixed)

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)

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 (2)

comment:1 Changed 12 years ago by bennylp

  • Priority changed from normal to major

comment:2 Changed 11 years ago by bennylp

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

Done in r1992

Note: See TracTickets for help on using tickets.