🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.appc-l
Article #452

TP Instances

#452
From: Peter J. Schwaller APPC Market E...
Date: Fri, 17 Dec 1993 05:02
22 lines
1557 bytes
Umm... that's not how it works, Richard.

TP_ID are not cleaned up until the last process to reference it ends.
If TP_IDs were cleaned up when no longer referenced by a conversation,
the folowing would not work (but it does):
    TP_STARTED(gets TP_ID_A)
      ALLOCATE(w/TP_ID_A)
      DEALLOCATE
      ALLOCATE(w/TP_ID_A)
      DEALLOCATE

To allow the program to control when the TP_ID is destroyed,
you can use the TP_ENDED call.

In terms of the OS/2 CPI-C extensions you'll need:
    cmaccp()
    xceti() (Extract_TP_ID and save it away)
    cmdeal() or your partner deallocates it
    xcendt() (End_TP)

Peter J. Schwaller
APPC Market Enablement
Technical Details
Message-ID: <APPC-L%93121700063093@AMERICAN.EDU>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!darwin.sura.net!paladin.american.edu!auvm!VNET.IBM.COM!pjs

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10aed9,d974f6155984ad78,start
X-Google-Attributes: gid10aed9,public
X-Google-ArrivalTime: 1993-12-16 23:58:05 PST
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!darwin.sura.net!paladin.american.edu!auvm!VNET.IBM.COM!pjs
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Newsgroups: bit.listserv.appc-l
Return-Path: <@AUVM.AMERICAN.EDU:owner-appc-l@AUVM.AMERICAN.EDU>
Return-Path: <@AUVM.AMERICAN.EDU,@CUNYVM.CUNY.EDU:pjs@VNET.IBM.COM>
X-Addr: (919) 254-4376        8-444-4376 INTERNET: pjs@vnet.ibm.com IBMMAIL:
        USIB2FHW at IBMMAIL Spread the word about Compuserve support: GO APPC
Message-ID: <APPC-L%93121700063093@AMERICAN.EDU>
Date: Fri, 17 Dec 1993 00:02:36 EST
Sender: APPC Discussion List <APPC-L@AUVM.BITNET>
From: "Peter J. Schwaller APPC Market Enablement" <pjs@VNET.IBM.COM>
Subject: TP Instances
Lines: 21