View Issue Details

IDProjectCategoryView StatusLast Update
00033591 - BacklogMaintenancepublic2020-07-16 04:27
ReporterK7ZCZAssigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0003359: CBusyFlag class in HRDStation implementation is flawed
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


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-06-16 10:49 K7ZCZ New Issue
2020-07-02 02:11 WA9PIE Project 3 - Current Dev List => 2 - Next Dev List (Holding Area)
2020-07-16 04:27 WA9PIE Project 2 - Next Dev List (Holding Area) => 1 - Backlog