#include "ink_config.h"
#include "I_RecMutex.h"
Go to the source code of this file.
Functions | |
int | rec_mutex_init (RecMutex *m, const char *name) |
int | rec_mutex_destroy (RecMutex *m) |
int | rec_mutex_acquire (RecMutex *m) |
int | rec_mutex_release (RecMutex *m) |
RecMutex definitions.
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 RecMutex.cc.
int rec_mutex_acquire | ( | RecMutex * | m | ) |
Definition at line 44 of file RecMutex.cc.
References ink_mutex_acquire(), ink_thread_self(), RecMutex::nthread_holding, RecMutex::the_mutex, this_thread(), and RecMutex::thread_holding.
Referenced by RecDumpRecords(), RecExecConfigUpdateCbs(), RecExecRawStatSyncCbs(), RecForceInsert(), RecGetRecord_Xmalloc(), RecGetRecordAccessType(), RecGetRecordCheckExpr(), RecGetRecordCheckType(), RecGetRecordDataType(), RecGetRecordOrderAndId(), RecGetRecordPersistenceType(), RecGetRecordPrefix_Xmalloc(), RecGetRecordString(), RecGetRecordType(), RecGetRecordUpdateType(), RecRegisterConfigUpdateCb(), RecRegisterRawStatSyncCb(), RecResetStatRecord(), RecSetRecord(), RecSetRecordAccessType(), RecSetSyncRequired(), RecSyncConfigToTB(), RecSyncStatsFile(), send_pull_message(), send_push_message(), send_register_message(), send_reset_message(), and send_set_message().
int rec_mutex_destroy | ( | RecMutex * | m | ) |
Definition at line 36 of file RecMutex.cc.
References ink_assert, ink_mutex_destroy(), RecMutex::nthread_holding, RecMutex::the_mutex, and RecMutex::thread_holding.
Referenced by RecRecordFree().
int rec_mutex_init | ( | RecMutex * | m, | |
const char * | name | |||
) |
Definition at line 28 of file RecMutex.cc.
References ink_mutex_init(), RecMutex::nthread_holding, RecMutex::the_mutex, and RecMutex::thread_holding.
Referenced by RecRecordInit().
int rec_mutex_release | ( | RecMutex * | m | ) |
Definition at line 59 of file RecMutex.cc.
References ink_mutex_release(), RecMutex::nthread_holding, RecMutex::the_mutex, and RecMutex::thread_holding.
Referenced by RecDumpRecords(), RecExecConfigUpdateCbs(), RecExecRawStatSyncCbs(), RecForceInsert(), RecGetRecord_Xmalloc(), RecGetRecordAccessType(), RecGetRecordCheckExpr(), RecGetRecordCheckType(), RecGetRecordDataType(), RecGetRecordOrderAndId(), RecGetRecordPersistenceType(), RecGetRecordPrefix_Xmalloc(), RecGetRecordString(), RecGetRecordType(), RecGetRecordUpdateType(), RecRegisterConfigUpdateCb(), RecRegisterRawStatSyncCb(), RecResetStatRecord(), RecSetRecord(), RecSetRecordAccessType(), RecSetSyncRequired(), RecSyncConfigToTB(), RecSyncStatsFile(), send_pull_message(), send_push_message(), send_register_message(), send_reset_message(), and send_set_message().