Пример #1
0
 static void LogWriter(FasterLog log, byte[] entry)
 {
     // Enter in some entries then wait on this separate thread
     log.Enqueue(entry);
     log.Enqueue(entry);
     log.Enqueue(entry);
     log.WaitForCommit(log.TailAddress);
 }