Data Structures | Defines | Functions | Variables

I_ProxyAllocator.h File Reference

A brief file description. More...

#include "libts.h"
Include dependency graph for I_ProxyAllocator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ProxyAllocator

Defines

#define THREAD_ALLOC(_a, _t)   thread_alloc(::_a, _t->_a)
#define THREAD_ALLOC_INIT(_a, _t)   thread_alloc_init(::_a, _t->_a)
#define THREAD_FREE(_p, _a, _t)

Functions

template<class C >
C * thread_alloc (ClassAllocator< C > &a, ProxyAllocator &l)
template<class C >
C * thread_alloc_init (ClassAllocator< C > &a, ProxyAllocator &l)
template<class C >
void thread_free (ClassAllocator< C > &a, C *p)
static void thread_free (Allocator &a, void *p)
template<class C >
void thread_freeup (ClassAllocator< C > &a, ProxyAllocator &l)
void * thread_alloc (Allocator &a, ProxyAllocator &l)
void thread_freeup (Allocator &a, ProxyAllocator &l)

Variables

int thread_freelist_size

Detailed Description

A brief file description.

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file I_ProxyAllocator.h.


Define Documentation

#define THREAD_ALLOC (   _a,
  _t 
)    thread_alloc(::_a, _t->_a)
#define THREAD_ALLOC_INIT (   _a,
  _t 
)    thread_alloc_init(::_a, _t->_a)
#define THREAD_FREE (   _p,
  _a,
  _t 
)

Function Documentation

template<class C >
C* thread_alloc ( ClassAllocator< C > &  a,
ProxyAllocator l 
) [inline]
void* thread_alloc ( Allocator a,
ProxyAllocator l 
)
template<class C >
C* thread_alloc_init ( ClassAllocator< C > &  a,
ProxyAllocator l 
) [inline]
static void thread_free ( Allocator a,
void *  p 
) [inline, static]

Definition at line 87 of file I_ProxyAllocator.h.

References Allocator::free_void().

template<class C >
void thread_free ( ClassAllocator< C > &  a,
C *  p 
) [inline]

Definition at line 81 of file I_ProxyAllocator.h.

References ClassAllocator< C >::free().

void thread_freeup ( Allocator a,
ProxyAllocator l 
)
template<class C >
void thread_freeup ( ClassAllocator< C > &  a,
ProxyAllocator l 
) [inline]

Variable Documentation

Definition at line 25 of file ProxyAllocator.cc.

Referenced by ink_event_system_init().