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); }