Assimilate exceptions and RefPtr from mspmisc
authorMikko Rasa <tdb@tdb.fi>
Fri, 25 May 2007 17:22:57 +0000 (17:22 +0000)
committerMikko Rasa <tdb@tdb.fi>
Fri, 25 May 2007 17:22:57 +0000 (17:22 +0000)
commit521cf1db00f8ce2d9f9494dca503d6c17d89ac2f
tree4cc69aefc05578e53402acbfae04732b8b897576
parent80bbee2f401b4af71cb1b80508bdb0d2bb61fa40
Assimilate exceptions and RefPtr from mspmisc
Assimilate GetOpt
Do not require pthread on win32
Add an optional feature to generate backtraces on exceptions
Allow semaphores to be created with an external mutex
Rewrite win32 semaphore implementation to more closely correspond the POSIX one
Allow MutexLock to be unlocked initially
Rewrite MutexPtr to use a RefPtr<MutexLock> instead of being refcounted itself
Fix some multiple inclusion guards
Add $Id$ tags
Fix Time::now() on win32
24 files changed:
Build
source/core/application.cpp
source/core/application.h
source/core/error.cpp [new file with mode: 0644]
source/core/error.h
source/core/getopt.cpp [new file with mode: 0644]
source/core/getopt.h [new file with mode: 0644]
source/core/main.cpp
source/core/mutex.h
source/core/refptr.h [new file with mode: 0644]
source/core/semaphore.cpp
source/core/semaphore.h
source/core/thread.cpp
source/core/thread.h
source/core/types.h
source/debug/backtrace.cpp [new file with mode: 0644]
source/debug/backtrace.h [new file with mode: 0644]
source/debug/demangle.cpp [new file with mode: 0644]
source/debug/demangle.h [new file with mode: 0644]
source/time/datetime.cpp
source/time/timedelta.cpp
source/time/timedelta.h
source/time/utils.cpp
source/time/utils.h