You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// The global graphics unique identifier counter.pubtypeGuid = u64;pubstaticmutGUID:Guid = 0;/// Increment the GUID and return the new GUID.fnguid() -> Guid{unsafe{GUID += 1;// <--- two threads can increment this at onceGUID// <--- the two threads receive the same id}}
The text was updated successfully, but these errors were encountered:
@bvssvni indeed, however I don't even think the Guid is even being used by anything (Element stores one, however I don't think it is ever used). We could probably just get rid of it.
Currently it mutates a static variable:
The text was updated successfully, but these errors were encountered: