Home | History | Annotate | Download | only in articles

Lines Matching full:thing

595 <p>It is important to recognize that the only thing guaranteed by barrier
726 <p>The key thing to remember about barriers is that they define ordering. Don?t
1095 MyStruct* thing = malloc(sizeof(*thing));
1096 memset(thing, 0, sizeof(*thing));
1097 thing->x = 5;
1098 thing->y = 10;
1100 gGlobalThing = thing;
1119 the fields are initialized on ARM. Another thread reading from <code>thing->x</code> could
1124 <pre> atomic_release_store(&gGlobalThing, thing);</pre>
1134 <pre> MyThing* thing = atomic_acquire_load(&gGlobalThing);
1135 int i = thing->x;</pre>
1416 <li>Do the simple thing and delete the outer check. This ensures that we never
1488 <p>Perhaps the safest thing you can do is make your class immutable. Objects