Home » U++ Library support » U++ MT-multithreading and servers » Can't use MT to capture console output
Re: Can't use MT to capture console output [message #61765 is a reply to message #61203] |
Sat, 02 August 2025 13:57  |
cbpporter
Messages: 1428 Registered: September 2007
|
Ultimate Contributor |
|
|
I finally had time to do another full run of investigations.
While the PostCallback method is still not performing acceptably without a Sleep, I switched over to not using it and adding a GuiLock __.
This solved many of the problems. Still might be a bit slower than it used to be in the old days and builds, but barely.
Now I just need to rewrite the Thread stop conditions for this new approach, since there is a menu option to kill the thread and this one crashes when using GuiLock. Because the thread still keeps going.
A bit hacky my current method, need to rethink it. I have found no way to kill a Thread directly.
|
|
|
Goto Forum:
Current Time: Tue Aug 12 02:43:33 CEST 2025
Total time taken to generate the page: 0.07315 seconds
|