Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dmBufferGetPoolState(3dm) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dmBufferSetPoolDefaults(3dm)

dmBufferAllocate(3dm)

dmBufferGetSize(3dm)



dmBuffer(3dm)                                                    dmBuffer(3dm)



NAME
     dmBufferGetPoolState - query available space in pool

SYNOPSIS
     #include <dmedia/dmbuffer.h>

     DMstatus dmBufferGetPoolState( DMbufferpool pool,
                                    long long *bytesAvailable,
                                    int *buffersAvailable );


DESCRIPTION
     dmBufferGetPoolState returns the number of bytes and buffers which can be
     successfully allocated from the pool before the pool fills up with
     allocated buffers (causing dmBufferAllocate to fail).

     Currently, each buffer in a DMbufferpool has a fixed size.  Therefore,
     the number of DMbuffers which can be allocated and the number of bytes
     which can be allocated are related by a constant factor, which is
     returned by dmBufferGetAllocSize. This may change in future releases.

SEE ALSO
     dmBufferSetPoolDefaults(3dm), dmBufferAllocate(3dm),
     dmBufferGetSize(3dm).































                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026