Private record process declarations. More...
#include "P_EventSystem.h"
#include "I_RecProcess.h"
#include "P_RecDefs.h"
Go to the source code of this file.
Functions | |
int | RecRegisterRawStatSyncCb (const char *name, RecRawStatSyncCb sync_cb, RecRawStatBlock *rsb, int id) |
int | RecExecRawStatSyncCbs () |
Private record process declarations.
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 P_RecProcess.h.
int RecExecRawStatSyncCbs | ( | ) |
Definition at line 875 of file RecProcess.cc.
References RecRecord::data, RecRecord::data_type, g_num_records, g_records, RecRawStatBlock::global, RecRecord::lock, RecRecord::name, raw_stat_clear(), rec_mutex_acquire(), rec_mutex_release(), RecRecord::rec_type, REC_TYPE_IS_STAT, RecRecord::stat_meta, RecStatMeta::sync_cb, RecStatMeta::sync_id, RecRecord::sync_required, RecStatMeta::sync_rsb, RecRawStat::version, and RecRecord::version.
Referenced by raw_stat_sync_cont::exec_callbacks().
int RecRegisterRawStatSyncCb | ( | const char * | name, | |
RecRawStatSyncCb | sync_cb, | |||
RecRawStatBlock * | rsb, | |||
int | id | |||
) |
Definition at line 844 of file RecProcess.cc.
References g_records_ht, g_records_rwlock, RecRawStatBlock::global, ink_hash_table_lookup(), ink_release_assert, ink_rwlock_rdlock(), ink_rwlock_unlock(), rec_mutex_acquire(), rec_mutex_release(), REC_TYPE_IS_STAT, and RecRawStat::version.
Referenced by _RecRegisterRawStat().