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
I'd like a type that forces locking over a value (with a potentially user-supplied lock object). The purpose will be to help ensure synchronization can not be accidentally elided for the wrapped variable.
Including forcing locks for compound mutations, by way of a 'using' pattern usage. Or, could even only allow access to the variable if a nominated monitor object is entered at the time. Also I wonder if there's any way to protect against leaked references...
The text was updated successfully, but these errors were encountered:
I'd like a type that forces locking over a value (with a potentially user-supplied lock object). The purpose will be to help ensure synchronization can not be accidentally elided for the wrapped variable.
Including forcing locks for compound mutations, by way of a 'using' pattern usage. Or, could even only allow access to the variable if a nominated monitor object is entered at the time. Also I wonder if there's any way to protect against leaked references...
The text was updated successfully, but these errors were encountered: