View Issue Details

IDProjectCategoryView StatusLast Update
00033593 - Current Dev ListMaintenancepublic2019-06-16 10:49
ReporterK7ZCZAssigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Product Version6.6.0.227 
Target VersionFixed in Version 
Summary0003359: CBusyFlag class in HRDStation implementation is flawed
Description
The CBusyFlag class in the HRDStation implementation has several flaws.

1) It spins by doing Sleep(0)
2) It locks by manipulating a BOOL that's not marked "volatile"
3) It doesn't use memory barriers or flushes, and probably has unexpected cache interactions
4) It is used in incorrect double-check locking patterns

It "probably works most of the time", but should be re-written or replaced to be reliable.
Steps To ReproduceThe implementation of this class is found in HRDStationLicense.cpp
TagsNo tags attached.
ModuleSW License Mgmt
Sub-ModuleSW License Client
TestingNot Started

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-06-16 10:49 K7ZCZ New Issue