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
Because any access to State needs a lock, it might perform badly in the future.
Work out a way to pass around a shared reference, but when reading or writing trigger the locking required. Something that the implementation can do by itself and allow for parallel reads and if needed, exclusive writes, etc.
The text was updated successfully, but these errors were encountered:
Because any access to
State
needs a lock, it might perform badly in the future.Work out a way to pass around a shared reference, but when reading or writing trigger the locking required. Something that the implementation can do by itself and allow for parallel reads and if needed, exclusive writes, etc.
The text was updated successfully, but these errors were encountered: