| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Seria I/O (Event driven) |
DL>> Is there another way to polling the serial driver to check for inbound DL>> data? DL>> What I want to do is have SIO.SYS or COM.SYS to send a message to my DL>> client window procedure whenever there is some data ready. PE> I think what you need to do is start a thread which simply waits for input PE> from the serial port, and then IT posts a message when it returns. It PE> doesn't matter that it is suspended all that time, because you are PE> multithreading. I don't go in for that sort of thing myself. :-) BFN. Well, the above seems like a good idea. I suppose the thread would check if there is any characters in the buffer, send a message if there is, and give the rest of its clock ticks away. Looks like I'll have to read up on multi-threading :) I'm also interested in performance issues. I guess the above would be okay for user interactions. Should I use a more direct method for file transfers? Daniel --- GoldED 2.41* Origin: n. source, starting-point, parentage. (3:711/927.2) SEEN-BY: 3/101 54/54 620/243 624/102 711/401 409 413 430 501 807 808 809 920 SEEN-BY: 711/926 927 934 942 712/40 218 505 506 515 517 623 628 713/888 SEEN-BY: 800/1 @PATH: 711/927 401 712/515 623 54/54 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.