Changeset 4252 for trunk/doc/pslib/psLibSDRS.tex
- Timestamp:
- Jun 14, 2005, 10:28:53 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/doc/pslib/psLibSDRS.tex (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/psLibSDRS.tex
r4247 r4252 1 %%% $Id: psLibSDRS.tex,v 1.28 0 2005-06-14 03:31:44price Exp $1 %%% $Id: psLibSDRS.tex,v 1.281 2005-06-14 20:28:53 price Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 956 956 to pass around both the structure and a mutex, or wrap PSLib 957 957 structures in their own thread-safe structures that contain a mutex. 958 PSLib is not responsible for freeing the \code{lock} (it may not even 959 be allocated using the PSLib memory management system) --- it is 960 entirely the responsibility of the user and PSLib provides only a 961 place to hang it. 958 962 959 963 We also define the following conveniences: … … 1555 1559 const long n; ///< size of array 1556 1560 const long nalloc; ///< allocated data block 1557 void **data; ///< pointer to data block1561 psPtr *data; ///< pointer to data block 1558 1562 void *lock; ///< Optional lock for thread safety 1559 1563 }} psArray; … … 1660 1664 struct psListElem *prev; ///< previous link in list 1661 1665 struct psListElem *next; ///< next link in list 1662 void *data; ///< real data item1666 psPtr data; ///< real data item 1663 1667 } psListElem; 1664 1668 \end{datatype} … … 1866 1870 typedef struct psHashBucket { 1867 1871 char *key; ///< key for this item of data 1868 void *data; ///< the data itself1872 psPtr data; ///< the data itself 1869 1873 struct psHashBucket *next; ///< list of other possible keys 1870 1874 } psHashBucket; … … 2910 2914 } psMath; 2911 2915 \end{datatype} 2912 2913 \tbd{Why do we need this? Can't we use psMathType instead?}2914 2916 2915 2917 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% … … 3657 3659 3658 3660 \begin{prototype} 3659 void *psFitsReadTableRowRaw(size_t *size, const psFits *fits, int row);3661 psPtr psFitsReadTableRowRaw(size_t *size, const psFits *fits, int row); 3660 3662 \end{prototype} 3661 3663 This function reads a single row of the table in the extension pointed
Note:
See TracChangeset
for help on using the changeset viewer.
