Functions | Variables

Lock.cc File Reference

A brief file description. More...

#include "P_EventSystem.h"
Include dependency graph for Lock.cc:

Go to the source code of this file.

Functions

void lock_waiting (const char *file, int line, const char *handler)
void lock_holding (const char *file, int line, const char *handler)
void lock_taken (const char *file, int line, const char *handler)

Variables

ClassAllocator< ProxyMutexmutexAllocator ("mutexAllocator")

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 Lock.cc.


Function Documentation

void lock_holding ( const char *  file,
int  line,
const char *  handler 
)

Definition at line 59 of file Lock.cc.

References is_diags_on.

Referenced by Mutex_unlock().

void lock_taken ( const char *  file,
int  line,
const char *  handler 
)

Definition at line 72 of file Lock.cc.

References is_diags_on.

Referenced by Mutex_unlock().

void lock_waiting ( const char *  file,
int  line,
const char *  handler 
)

Definition at line 46 of file Lock.cc.

References is_diags_on.

Referenced by Mutex_trylock(), and Mutex_trylock_spin().


Variable Documentation

Referenced by ProxyMutex::free(), and new_ProxyMutex().