public static void InitialUpdater(KeyStruct *key, InputStruct *input, ValueStruct *value) { ValueStruct.Copy((ValueStruct *)input, value); }
public static void ConcurrentWriter(KeyStruct *key, ValueStruct *src, ValueStruct *dst) { ValueStruct.AcquireWriteLock(dst); ValueStruct.Copy(src, dst); ValueStruct.ReleaseWriteLock(dst); }
public static void ConcurrentReader(KeyStruct *key, InputStruct *input, ValueStruct *value, OutputStruct *dst) { ValueStruct.AcquireReadLock(value); ValueStruct.Copy(value, (ValueStruct *)dst); ValueStruct.ReleaseReadLock(value); }
public static void SingleWriter(KeyStruct *key, ValueStruct *src, ValueStruct *dst) { ValueStruct.Copy(src, dst); }
public static void SingleReader(KeyStruct *key, InputStruct *input, ValueStruct *value, OutputStruct *dst) { ValueStruct.Copy(value, (ValueStruct *)dst); }