Changeset 411
- Timestamp:
- Apr 8, 2004, 7:16:54 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/doc/pslib/psLibSDRS.tex (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/psLibSDRS.tex
r408 r411 1 %%% $Id: psLibSDRS.tex,v 1.3 5 2004-04-09 01:29:44 price Exp $1 %%% $Id: psLibSDRS.tex,v 1.36 2004-04-09 05:16:54 price Exp $ 2 2 \documentclass[panstarrs]{panstarrs} 3 3 … … 486 486 management routines respect the use of the \code{refCounter} field: 487 487 \code{psFree} will not free a block for which \code{refCounter != 1}, 488 and \code{psAlloc} will initialize the field to 1. \tbd{should psFree 489 give an error if refCounter $>$ 1 or actually do the decrement?} 490 However, they do not (and cannot practically) enforce the use of the 491 counters; this is a requirement of external APIs which intend to use 492 the feature. 488 and \code{psAlloc} will initialize the field to 1. \tbd{\code{psFree} 489 should generate an error if \code{refCounter != 1}.} However, they do 490 not (and cannot practically) enforce the use of the counters; this is 491 a requirement of external APIs which intend to use the feature. 493 492 494 493 Several APIs are provided to manage the reference counters. These … … 510 509 be in the valid range and should correspond to the address of the 511 510 \code{psMemBlock}). For an example implementation of the 512 \code{refCounter} facilities, see the discussion of \code{psDlist}. 513 514 \tbd{REF}. 511 \code{refCounter} facilities, see the discussion of \code{psDlist} 512 (\S\ref{sec:psDlist}). 515 513 516 514 \subsubsection{Relation of Memory Management to Structures} … … 1025 1023 1026 1024 \subsection{Doubly-linked lists} 1027 \ hlabel{psDlist}1025 \label{sec:psDlist} 1028 1026 1029 1027 \PS{} supports doubly linked lists through a type \code{psDlist}:
Note:
See TracChangeset
for help on using the changeset viewer.
