| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | WinPostMsg |
-=> Quoting Eelco Dolstra to Phil Crown <=-
ED> That is also possible, but starting a new thread has a "non-trivial
ED> overhead" (according to IBM). It is probably better to have object
ED> window threads for all the tasks your application will ever need to
ED> do, and start them all at once at program start-up (like PMSHELL.EXE
ED> does, which has more than 20 threads).
I saw this mentioned about the overhead in one of the multi-threading
examples on DevCon.
I think I will create all threads (or at least the most often used) at
program startup. I am using up to 11 threads, but only 2 - 5 are usually
active at any one time.
Thanks for the help.
Phil
Fido: 1:124/8014.1 | Internet: phil.crown{at}bluecafe.com
--- Blue Wave/Max v2.22b
* Origin: * MacSavvy OS/2 BBS * Dallas, Texas * 214-250-4479 * (1:124/1208)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: 124/1208 1 396/1 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™.