Exemplo n.º 1
0
 public static void ConcurrentReader(KeyStruct *key, InputStruct *input, ValueStruct *value, OutputStruct *dst)
 {
     ValueStruct.AcquireReadLock(value);
     ValueStruct.Copy(value, (ValueStruct *)dst);
     ValueStruct.ReleaseReadLock(value);
 }
Exemplo n.º 2
0
 public static void SingleWriter(KeyStruct *key, ValueStruct *src, ValueStruct *dst)
 {
     ValueStruct.Copy(src, dst);
 }
Exemplo n.º 3
0
 public static void SingleReader(KeyStruct *key, InputStruct *input, ValueStruct *value, OutputStruct *dst)
 {
     ValueStruct.Copy(value, (ValueStruct *)dst);
 }