ADC Home > Reference Library > Reference > Darwin > Miscellaneous User Space API Reference

 


ext/bitmap_allocator.h

Includes:
<cstddef>
<utility>
<algorithm>
<vector>
<functional>
<new>
<bits/gthr.h>
<ext/new_allocator.h>
<cassert>
<cstddef>
<bits/functexcept.h>
<utility>
<functional>
<new>
<bits/gthr.h>
<cassert>

Introduction

This file is a GNU extension to the Standard C++ Library.



Classes

__mini_vector
_Auto_Lock
_Lock
_Mutex
operator _Ffit_finder


Functions

__num_bitmaps
__num_blocks

__num_bitmaps


template<typename _AddrPair> inline size_t __num_bitmaps(
    _AddrPair __ap) 
Discussion

@brief The number of Bit-maps pointed to by the address pair passed to the function.


__num_blocks


template<typename _AddrPair> inline size_t __num_blocks(
    _AddrPair __ap) 
Discussion

@brief The number of Blocks pointed to by the address pair passed to the function.

Constants


__threads_enabled


bool const __threads_enabled = __gthread_active_p();  
Discussion

@brief If true, then the application being compiled will be using threads, so use mutexes as a synchronization primitive, else do no use any synchronization primitives.

#defines


_BALLOC_ALIGN_BYTES


#define _BALLOC_ALIGN_BYTES 8 
Discussion

@brief The constant in the expression below is the alignment required in bytes.

Last Updated: 2006-06-20