##// END OF EJS Templates
Code review, added a non generic version of SyncContextPromise
Code review, added a non generic version of SyncContextPromise

File last commit:

r201:d7cd7a83189a v2
r211:3eb3255d8cc5 v2
Show More
Program.cs
45 lines | 1.2 KiB | text/x-csharp | CSharpLexer
cin
TraceLog tests
r201 using Implab;
cin
working on diagnostics
r194 using Implab.Parallels;
cin
TraceLog tests
r201 using Implab.Diagnostics;
cin
working on diagnostics
r194 using System.Threading;
cin
improved tracing...
r93
namespace MonoPlay {
class MainClass {
cin
RC: cancellation support for promises + tests
r145
cin
improved tracing...
r93 public static void Main(string[] args) {
cin
working on diagnostics
r194 var pool = new WorkerPool(10);
cin
JSONWriter improvements
r150
cin
working on diagnostics
r194 var listerner = new ConsoleTraceListener();
cin
TraceLog tests
r201 listerner.Subscribe<TraceEvent>();
cin
working on diagnostics
r194
cin
TraceLog tests
r201 TraceLog.StartLogicalOperation("Main");
cin
improved tracing...
r93
cin
working on diagnostics
r194 var d = pool.Invoke(() => {
cin
TraceLog tests
r201 TraceLog.StartLogicalOperation("Worker");
cin
working on diagnostics
r194 Thread.Sleep(100);
cin
TraceLog tests
r201 TraceLog.TraceInformation("worker done");
TraceLog.EndLogicalOperation();
cin
working on diagnostics
r194 });
cin
shared locks + tests
r136
cin
TraceLog tests
r201 var op = TraceContext.Instance.CurrentOperation;
cin
working on diagnostics
r194 ThreadPool.QueueUserWorkItem((o) => {
cin
TraceLog tests
r201 TraceContext.Instance.EnterLogicalOperation(op, false);
TraceLog.StartLogicalOperation("Thread");
cin
working on diagnostics
r194 Thread.Sleep(100);
cin
TraceLog tests
r201 TraceLog.TraceInformation("thread done");
TraceLog.EndLogicalOperation();
cin
working on diagnostics
r194 });
cin
JSONWriter improvements
r150
cin
TraceLog tests
r201 TraceLog.TraceInformation("main done");
TraceLog.EndLogicalOperation();
cin
working on diagnostics
r194
d.Join();
cin
fixed DFA optimization, JSON is fully functional
r183
cin
RC: cancellation support for promises + tests
r145 }
cin
shared locks + tests
r136
cin
improved tracing...
r93 }
}