Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. More...
#include <pthread.h>
#include <atscppapi/noncopyable.h>
#include <atscppapi/shared_ptr.h>
Go to the source code of this file.
Data Structures | |
class | atscppapi::Mutex |
A mutex is mutual exclusion: a blocking lock. More... | |
class | atscppapi::ScopedMutexLock |
Take a Mutex reference and lock inside a scope and unlock when the scope is exited. More... | |
class | atscppapi::ScopedSharedMutexLock |
Take a shared_ptr to a Mutex and lock inside a scope and unlock when the scope is exited. More... | |
class | atscppapi::ScopedMutexTryLock |
Take a Mutex reference and try to lock inside a scope and unlock when the scope is exited (if the lock was taken). More... | |
class | atscppapi::ScopedSharedMutexTryLock |
Take a shared_ptr to a Mutex and try to lock inside a scope and unlock when the scope is exited (if the lock was taken). More... | |
Namespaces | |
namespace | atscppapi |
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.
Contains Mutex related classes for creating a Mutex and locking a Mutex in a specific scope.
Definition in file Mutex.h.