File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -34,19 +34,19 @@ use x86_64::{
3434
3535mod memory_descriptor;
3636
37- static SYSTEM_TABLE : VeryUnsafeCell < Option < SystemTable < Boot > > > = VeryUnsafeCell :: new ( None ) ;
37+ static SYSTEM_TABLE : RacyCell < Option < SystemTable < Boot > > > = RacyCell :: new ( None ) ;
3838
39- struct VeryUnsafeCell < T > ( UnsafeCell < T > ) ;
39+ struct RacyCell < T > ( UnsafeCell < T > ) ;
4040
41- impl < T > VeryUnsafeCell < T > {
41+ impl < T > RacyCell < T > {
4242 const fn new ( v : T ) -> Self {
4343 Self ( UnsafeCell :: new ( v) )
4444 }
4545}
4646
47- unsafe impl < T > Sync for VeryUnsafeCell < T > { }
47+ unsafe impl < T > Sync for RacyCell < T > { }
4848
49- impl < T > core:: ops:: Deref for VeryUnsafeCell < T > {
49+ impl < T > core:: ops:: Deref for RacyCell < T > {
5050 type Target = UnsafeCell < T > ;
5151
5252 fn deref ( & self ) -> & Self :: Target {
You can’t perform that action at this time.
0 commit comments