TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Phil Crown
from: Eelco Dolstra
date: 1996-01-14 19:23:24
subject: WinPostMsg

Hallo Phil!

Op 05-01-96 09:37 schreef Phil Crown aan All :

 PC> If I use a wrapper for WinPostMsg such as below, doesn't this 
 PC> defeat the purpose of WinPostMsg's attribute of returning without 
 PC> waiting?  Seems like this could potentially get stuck for longer 
 PC> than 1/10th of a second, thus defeating the purpose of 
 PC> WinPostMsg?

Yes, but this would only happen if the receiver's message queue is full and
remains full, which doesn't (or shouldn't) happen very often. Then PostMsg
would indeed violate the 1/10th second rule. A solution might be to put a
time-out or a counter in PostMsg, so that it would return after some time.

Eelco.

---
* Origin: origin lost in space (2:283/203.43)
SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 283/203 2 6 1 512 280/801 270/101 712/515 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™.