enhancement request - per-character microseconds delay
Eröffnet am: 2009-04-28 10:00
Letztes Update: 2009-04-28 10:00
Auswertung: | dhlocker | Verantwortlicher: | (Keine) |
---|---|---|---|
Priorität: | 5 - Mittel | Meilenstein: | (Keine) |
Typ: | Funktionsanfragen | Schweregrad: | 5 - Mittel |
Komponente: | Tera Term | Status: | Offen |
Lösung | Keine |
Einzelheiten
I'd like to be able to set microsecond per-character delays.
I hacked commlib.c to invoke a "micro-sleep" function that I wrote, but without success. I figure that at high baud rates the millisecond resolution of the timers is much too long for per-character, so I interpret delays greater than example 5 milliseconds as microseconds. But my delay seems to spin without returning. Currently it is sending a WM_TIMER message to the invoking thread after the desired microseconds delay (based on the performance counter,) but the main thread is never revived.
I could easily post my changes if someone is willing to review and suggest fixes to make it actually work. Microsoft Vista/Visual Studio.
Seems simple and very useful.
Thanks for a great program! Donald.
Letzte Aktualisierung für dieses Ticket
2009-04-28 10:00 Aktualisiert von: dhlocker
- New Ticket "enhancement request - per-character microseconds delay" created