| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | WinPostMsg |
Hello Phil! On 16-01-96 18:02 Phil Crown wrote to Eelco Dolstra: PC> However, this may block the Object windows queue for quite PC> sometime. PC> Do I not have to worry about blocking an Object windows queue as PC> I do the main thread's queue? No, not if you post the message to the object window. However, I think that if you *send* the message, it will block the sending thread (in this case the main thread). So you should always use WinPostMsg. PC> Or should I have the Object Window Procedure start another thread PC> to do time consuming tasks? That is also possible, but starting a new thread has a "non-trivial overhead" (according to IBM). It is probably better to have object window threads for all the tasks your application will ever need to do, and start them all at once at program start-up (like PMSHELL.EXE does, which has more than 20 threads). 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™.