Ticket #6480 (new defect)

Bug contains 1 commit(s) | SVN Diffs for #6480

 

Opened 3 weeks ago

Last modified 3 weeks ago

UMTX_CHECK usage cleanup

Reported by: andy Assigned to: andy
Priority: major Milestone: 4.1.1
Component: misc Version:
Keywords: Cc:
Load: Xref: 6477
Java Version: Operating System:
Project (C/J): ICU4C Weeks: .1
Review: markus

Description

Reviewing the use of UMTX_CHECK() in double-checked lazy initializations turned up a number of cases where the variable being tested in the check expression was being set in the corresponding initialization block before the initialization was complete.

These are all potential thread safety issues.

i18n/zonemeta.cpp i18n/csdetect.cpp i18n/ucol_bld.cpp i18n/coll.cpp i18n/ucol_res.cpp common/umutex.h common/unames.c common/uloc.c common/ucnv_bld.c

Attachments

Change History

08/04/08 17:45:28 changed by andy

  • revw set to markus.

Add/Change #6480 (UMTX_CHECK usage cleanup)




Anti spam check: