Bug #1158

Sequence number increment is not atomic

Added by J. Moringen about 9 years ago. Updated about 8 years ago.

Status:ResolvedStart date:08/30/2012
Priority:HighDue date:
Assignee:J. Wienke% Done:

100%

Category:C++
Target version:rsb-0.10

Associated revisions

Revision 3ac129a3
Added by J. Wienke about 8 years ago

fixes #1158: reduce visibility of sequence number

This ensure that external classes will only use a thread-safe function
to access it.

History

#1 Updated by J. Wienke about 8 years ago

  • Status changed from New to In Progress
  • Assignee set to J. Wienke
  • Target version set to rsb-0.10

This seems to be fixed already by a mutex. I will reduce visibility of the counter to ensure locked access.

#2 Updated by J. Wienke about 8 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset rsb-cpp|commit:3ac129a352ffc2281912bc478869447f17940e72.

Also available in: Atom PDF