🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer.misc
Article #174

Re: PM Programming: Only from 1 thread?

#174
From: Timur Tabi
Date: Fri, 15 Dec 1995 00:00
20 lines
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)
Technical Details
Message-ID: <4aqt05$eh2@bocanews.bocaraton.ibm.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cd94,a881540f0dba7be2
X-Google-Attributes: gid10cd94,public
X-Google-Thread: 11307a,a881540f0dba7be2
X-Google-Attributes: gid11307a,public
From: timur@vnet.ibm.com (Timur Tabi)
Subject: Re: PM Programming: Only from 1 thread?
Date: 1995/12/15
Message-ID: <4aqt05$eh2@bocanews.bocaraton.ibm.com>
X-Deja-AN: 121926286
organization: IBM Boca Raton (for now)
newsgroups: comp.os.os2.programmer.misc,bit.listserv.os2-l