stephen-swensen / nl-compiler

A compiler for NL, a statically typed programming language targeting .NET
1 stars 0 forks source link

VNLI: Unable to redirect stdout and stderr from non-GUI thread to Output window #77

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We tried testing for InvokeRequired and using Invoke on the OutputScintilla 
owned by our ScintillaTextWriters, but it seems to deadlocks when done from an 
async theadpool thread, so instead we don't write at all to the OutputScintilla 
if InvokeRequired is true.

We consider this low-priority, since as it stands now, we are almost always 
running ops that write to stdout/err from the gui-thread.

Original issue reported on code.google.com by stephen....@gmail.com on 2 Jun 2013 at 11:43

GoogleCodeExporter commented 9 years ago
this may have been a scintilla bug fixed in ScintillaNET 2.6 (which we have 
already upgraded to): https://scintillanet.codeplex.com/workitem/33759

Original comment by stephen....@gmail.com on 23 Jul 2014 at 4:16