A brief file description. More...
#include "ink_atomic.h"
Go to the source code of this file.
Data Structures | |
class | NonAtomicRefCountObj |
class | NonAtomicPtr< T > |
struct | ForceVFPTToTop |
class | RefCountObj |
class | Ptr< T > |
Defines | |
#define | NONATOMIC_REF_COUNT_OBJ_REFCOUNT_INC(_x) (_x)->refcount_inc() |
#define | NONATOMIC_REF_COUNT_OBJ_REFCOUNT_DEC(_x) (_x)->refcount_dec() |
#define | REF_COUNT_OBJ_REFCOUNT_INC(_x) (_x)->refcount_inc() |
#define | REF_COUNT_OBJ_REFCOUNT_DEC(_x) (_x)->refcount_dec() |
Functions | |
template<typename T > | |
NonAtomicPtr< T > | make_nonatomic_ptr (T *p) |
template<typename T > | |
Ptr< T > | make_ptr (T *p) |
A brief file description.
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 Ptr.h.
#define NONATOMIC_REF_COUNT_OBJ_REFCOUNT_DEC | ( | _x | ) | (_x)->refcount_dec() |
#define NONATOMIC_REF_COUNT_OBJ_REFCOUNT_INC | ( | _x | ) | (_x)->refcount_inc() |
#define REF_COUNT_OBJ_REFCOUNT_DEC | ( | _x | ) | (_x)->refcount_dec() |
Definition at line 291 of file Ptr.h.
Referenced by DereferContinuation< C >::dieEvent(), LogObjectManager::transfer_objects(), and LogObjectManager::~LogObjectManager().
#define REF_COUNT_OBJ_REFCOUNT_INC | ( | _x | ) | (_x)->refcount_inc() |
Definition at line 282 of file Ptr.h.
Referenced by LogObjectManager::transfer_objects().
NonAtomicPtr<T> make_nonatomic_ptr | ( | T * | p | ) |
Ptr<T> make_ptr | ( | T * | p | ) |
Definition at line 363 of file Ptr.h.
Referenced by cache_op_result_ClusterFunction(), Congestion_CongestionDB(), Congestion_FailHistory(), Log::init_fields(), and DNSHandler::recv_dns().