▁Java , ▁one ▁would ▁annot ate ▁these ▁variables ▁as ▁' vol atile '. ▁ ▁Note ▁however ▁that ▁the ▁C / C ++ ▁" vol atile " ▁attribute ▁only ▁guarante es ▁that ▁the ▁compiler ▁generates ▁code ▁with ▁the ▁proper ▁ordering ; ▁it ▁does ▁not ▁include ▁the ▁necessary ▁memory ▁bar riers ▁to ▁guarantee ▁in - order ▁execution ▁of ▁that ▁code . ▁C ++ 1 1 ▁atomic ▁variables ▁can ▁be ▁used ▁to ▁guarantee ▁the ▁appropriate ▁ordering ▁requirements ▁— ▁by ▁default , ▁operations ▁on ▁atomic ▁variables ▁are ▁sequ entially ▁consistent ▁so ▁if ▁the ▁wants _ to _ enter ▁and ▁turn ▁variables ▁are ▁atomic ▁a ▁na ive ▁implementation ▁will ▁" just ▁work ". ▁Alternatively , ▁ordering ▁can ▁be ▁guaranteed ▁by ▁the ▁explicit ▁use ▁of ▁separate ▁f ences , ▁with ▁the ▁load ▁and ▁store ▁operations ▁using ▁a ▁relax ed ▁ordering . ▁ ▁See ▁also ▁▁ ▁Eisen berg ▁& ▁Mc Gu ire ▁algorithm ▁ ▁Pet erson ' s ▁algorithm ▁ ▁Lam port ' s ▁b ak ery ▁algorithm ▁ ▁S zyma ński ' s ▁algorithm ▁ ▁Sem ap hor es ▁ ▁References ▁ ▁Category : Con currency ▁control ▁algorithms ▁Category : Ed s ger ▁W . ▁D ijk stra <0x0A> </s> ▁This ▁is ▁a ▁list ▁of ▁contest ants ▁who ▁have ▁appeared ▁on ▁the ▁V H 1 ▁reality ▁television ▁show ▁F lav or ▁of ▁Love ▁and ▁its ▁spin - offs ▁I ▁Love ▁New ▁York , ▁Ch arm ▁School , ▁Rock ▁of ▁Love , ▁I ▁Love ▁M oney , ▁Real ▁Ch ance ▁of ▁Love , ▁For ▁the ▁Love ▁of ▁Ray ▁J ,