• Wincent
    Menu
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Drop volatile keyword from singleton initializers (WOCommon, 23a9a8a)

Created 9/16/2007, updated 3/5/2024
  • snippets

The use of the volatile keyword in the WOLogManager, WOMachine and WOSysctl singleton initializers is unnecessary, as correct ordering is already guaranteed by the use of memory barriers, so drop it.

Signed-off-by: Greg Hurrell <greg@hurrell.net>

← Drop use of WOSingleton for WOBaseCore (WOCommon, 4c61ee1)
Dump pathForFolder:domain: test (WOCommon, 06a34ee) →

All snippets

Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell with Rust (with help from Git and Neovim).