[Newbies] Transcript

Tobias Pape Das.Linux at gmx.de
Mon Jul 18 16:55:49 UTC 2016


Hi Joseph

On 18.07.2016, at 18:48, Ron Teitelbaum <ron at usmedrec.com> wrote:

> Hi Joe,
> 
> It's probably not the transcript but everything else that is happening on
> your image.  I'm not sure at what priority the transcript runs but if you
> have threads at higher priority running they have to finish first and then
> yield so that a lower priority thread can take over.  That's when your
> transcript messages will show up.  
> 
> The transcript can also get you in trouble with threading, having multiple
> threads trying to write to the transcript.  Make sure you are controlling
> access to the transcript if you are using it with multiple threads.  
> 

Also, Writing to the Transcript is I/O. You'll have a similar effect if you
use a low-level language like C and write to stdout. You should use
the message Tally and look at what actually is slow. I bet it is the 
transcript writing; getting characters on screen is typically expensive, in
most environments.

Best regards
	-Tobias

> All the best,
> 
> Ron Teitelbaum





More information about the Beginners mailing list