X7ROOT File Manager
Current Path:
/opt/cpanel/ea-ruby27/src/passenger-release-6.1.2/src/cxx_supportlib/Utils
opt
/
cpanel
/
ea-ruby27
/
src
/
passenger-release-6.1.2
/
src
/
cxx_supportlib
/
Utils
/
??
..
??
AnsiColorConstants.h
(1.74 KB)
??
AsyncSignalSafeUtils.h
(5.46 KB)
??
BlockingQueue.h
(3.87 KB)
??
CachedFileStat.cpp
(2.08 KB)
??
CachedFileStat.h
(1.92 KB)
??
CachedFileStat.hpp
(7.52 KB)
??
ClassUtils.h
(2.34 KB)
??
Curl.h
(7.69 KB)
??
FastStringStream.h
(5.25 KB)
??
FileChangeChecker.h
(6.29 KB)
??
HttpConstants.h
(4.48 KB)
??
IniFile.h
(11.81 KB)
??
Lock.h
(630 B)
??
MessagePassing.h
(8.07 KB)
??
OptionParsing.h
(2.26 KB)
??
ReleaseableScopedPointer.h
(2.08 KB)
??
ScopeGuard.h
(3.13 KB)
??
SpeedMeter.h
(8.46 KB)
??
Timer.h
(4.04 KB)
??
VariantMap.h
(13.8 KB)
Editing: Lock.h
#ifndef _PASSENGER_LOCK_H_ #define _PASSENGER_LOCK_H_ #include <boost/thread.hpp> namespace Passenger { using namespace boost; /** Shortcut typedefs. */ typedef boost::lock_guard<boost::mutex> LockGuard; typedef boost::unique_lock<boost::mutex> ScopedLock; /** Nicer syntax for conditionally locking the mutex during construction. */ class DynamicScopedLock: public boost::unique_lock<boost::mutex> { public: DynamicScopedLock(boost::mutex &m, bool lockNow = true) : boost::unique_lock<boost::mutex>(m, boost::defer_lock) { if (lockNow) { lock(); } } }; } // namespace Passenger #endif /* _PASSENGER_LOCK_H_ */
Upload File
Create Folder