IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 1, 2004, 2:49:21 PM (22 years ago)
Author:
Paul Price
Message:

Removed the infamous "psFree will produce an error if the refCounter
is not 1".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/pslib/psLibSDRS.tex

    r1676 r1677  
    1 %%% $Id: psLibSDRS.tex,v 1.102 2004-09-02 00:40:37 price Exp $
     1%%% $Id: psLibSDRS.tex,v 1.103 2004-09-02 00:49:21 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    599599management routines respect the use of the \code{refCounter} field:
    600600\code{psFree} will not free a block for which \code{refCounter} is not
    601 1, and \code{psAlloc} will initialize the field to 1.  \code{psFree}
    602 must generate an error if \code{refCounter} is not 1.  However, they
    603 do not (and cannot practically) enforce the use of the counters; this
    604 is a requirement of external APIs which intend to use the feature.
     6011, but shall decrement the \code{refCounter}, and \code{psAlloc} will
     602initialize the field to 1.  However, these functions do not (and
     603cannot practically) enforce the use of the counters; this is a
     604requirement of external APIs which intend to use the feature.
    605605
    606606Several APIs are provided to manage the reference counters.  These
Note: See TracChangeset for help on using the changeset viewer.