Thread View: comp.os.os2.programmer.misc
2 messages
2 total messages
Started by Timur Tabi
Fri, 15 Dec 1995 00:00
Re: PM Programming: Only from 1 thread?
Author: Timur Tabi
Date: Fri, 15 Dec 1995 00:00
Date: Fri, 15 Dec 1995 00:00
20 lines
1395 bytes
1395 bytes
In message <4aq7gn$bvk@cpcug.org> - kbennett@cpcug.org (Keith Bennett) writes: >I once heard a long time ago that there was an issue about only making PM >graphics calls from one thread in a program. I don't remember the >details, but there was some problem with making PM calls from more than 1 >thread. Yeah, it's complicated. And there's something about how some calls need to be made from a thread that has a PM message queue, because the call itself can generate PM messages. Multithreaded PM programming is not trivial. Fortunately, there is an excellent book out called, "The Art of OS/2 Warp Programming," by Panov, Salomon, and Panov. I strongly recommend you get it. -- Timur "too sexy for my code" Tabi, timur@vnet.ibm.com Architect, OS/2 Warp realtime MIDI subsystem http://timur.bocaraton.ibm.com (internal IBM only) http://www.shirenet.com/~crusader/Timur (external)
Re: PM Programming: Only from 1 thread?
Author: Q
Date: Fri, 15 Dec 1995 00:00
Date: Fri, 15 Dec 1995 00:00
31 lines
1833 bytes
1833 bytes
In <4aqt05$eh2@bocanews.bocaraton.ibm.com> timur@vnet.ibm.com (Timur Tabi) writes: >In message <4aq7gn$bvk@cpcug.org> - kbennett@cpcug.org (Keith Bennett) writes: >>I once heard a long time ago that there was an issue about only making PM >>graphics calls from one thread in a program. I don't remember the >>details, but there was some problem with making PM calls from more than 1 >>thread. >Yeah, it's complicated. And there's something about how some calls need >to be made from a thread that has a PM message queue, because the call itself >can generate PM messages. >Multithreaded PM programming is not trivial. Fortunately, there is an >excellent book out called, "The Art of OS/2 Warp Programming," by Panov, >Salomon, and Panov. I strongly recommend you get it. There are other good books out there too. _Programming the OS/2 Presentation Manager, 2nd edition_, Charles Petzold. Ziff Davis Press. Also, check out EDM/2 the (free) magazine for OS/2 developers. The URL is http://venus.ee.ndsu.nodak.edu/edm2 Cheers, Q -- ftp://hobbes.nmsu.edu/os2/newsltr/edm* | Get the latest EDM/2! _The_ http://venus.ee.ndsu.nodak.edu/edm2 | magazine for OS/2 developers. email to edm2-info@knex.mind.org | At fine Web sites near you. :)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads