Ticket #16432

enhancement request - per-character microseconds delay

Eröffnet am: 2009-04-28 10:00 Letztes Update: 2009-04-28 10:00

Auswertung:
Verantwortlicher:
(Keine)
Status:
Offen
Komponente:
Meilenstein:
(Keine)
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Keine
Datei:
Keine
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

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.

Ticket-Verlauf (1/1 Historien)

2009-04-28 10:00 Aktualisiert von: dhlocker
  • New Ticket "enhancement request - per-character microseconds delay" created

Dateianhangliste

Keine Anhänge

Bearbeiten

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Anmelden