libs/core.git
14 years agoWin32 doesn't have execinfo.h, so don't include it
Mikko Rasa [Mon, 11 Jun 2007 06:37:33 +0000 (06:37 +0000)]
Win32 doesn't have execinfo.h, so don't include it
Add KeyError
Add release() to RefPtr

14 years agoMake this thing actually compile
Mikko Rasa [Fri, 25 May 2007 17:32:16 +0000 (17:32 +0000)]
Make this thing actually compile

14 years agoAssimilate exceptions and RefPtr from mspmisc
Mikko Rasa [Fri, 25 May 2007 17:22:57 +0000 (17:22 +0000)]
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

14 years agoAdded DateTime
Mikko Rasa [Mon, 26 Mar 2007 20:08:11 +0000 (20:08 +0000)]
Added DateTime
Reworked operator<< for TimeDelta

15 years agoUse Time::sleep instead of sleep in Application::main
Mikko Rasa [Mon, 27 Nov 2006 14:12:23 +0000 (14:12 +0000)]
Use Time::sleep instead of sleep in Application::main
Prefix usage reason with "UsageError: "

15 years agoThrow out anything polling related - they will go to libmspio eventually
Mikko Rasa [Fri, 17 Nov 2006 23:15:04 +0000 (23:15 +0000)]
Throw out anything polling related - they will go to libmspio eventually
Remove some old files
Redesign Application::main

15 years agoAdd a missing mutex unlock into Semaphore::wait
Mikko Rasa [Tue, 3 Oct 2006 21:25:23 +0000 (21:25 +0000)]
Add a missing mutex unlock into Semaphore::wait
Make MutexLock noncopyable

15 years agoAdd const TimeDelta zero
Mikko Rasa [Sat, 9 Sep 2006 15:57:08 +0000 (15:57 +0000)]
Add const TimeDelta zero

15 years agoWin32 type warning fixed
Niko Liikanen [Thu, 7 Sep 2006 12:53:02 +0000 (12:53 +0000)]
Win32 type warning fixed
source/time/utils.cpp:78: warning: passing `double' for converting 1 of `void Sleep(DWORD)'

15 years agoChange sched_yield to a short sleep to improve performance on slower machines
Mikko Rasa [Wed, 6 Sep 2006 20:53:38 +0000 (20:53 +0000)]
Change sched_yield to a short sleep to improve performance on slower machines

15 years agoAdd LDFLAGS to CXX when linking...
Niko Liikanen [Tue, 5 Sep 2006 20:31:10 +0000 (20:31 +0000)]
Add LDFLAGS to CXX when linking...

15 years agoWin32-compatibility
Mikko Rasa [Tue, 5 Sep 2006 20:24:43 +0000 (20:24 +0000)]
Win32-compatibility

15 years agoWin32 compilation fixes
Mikko Rasa [Tue, 5 Sep 2006 13:32:12 +0000 (13:32 +0000)]
Win32 compilation fixes

15 years agoSemaphore is now win32-compatible, I hope
Mikko Rasa [Tue, 5 Sep 2006 12:24:46 +0000 (12:24 +0000)]
Semaphore is now win32-compatible, I hope

15 years agoNew Makefile to work with subdirs (For Win32 build)
Niko Liikanen [Mon, 4 Sep 2006 11:03:10 +0000 (11:03 +0000)]
New Makefile to work with subdirs (For Win32 build)

15 years agoAdd Build file
Mikko Rasa [Sun, 3 Sep 2006 18:52:08 +0000 (18:52 +0000)]
Add Build file

15 years agoRename to libmspcore
Mikko Rasa [Mon, 28 Aug 2006 07:59:47 +0000 (07:59 +0000)]
Rename to libmspcore
Combine with libmsptime

15 years agoStatic/Shared lib extension tweaks
Niko Liikanen [Thu, 24 Aug 2006 21:08:50 +0000 (21:08 +0000)]
Static/Shared lib extension tweaks
removed header/static lib from install

15 years agoWinMain for Win32
Niko Liikanen [Thu, 24 Aug 2006 20:41:28 +0000 (20:41 +0000)]
WinMain for Win32

15 years agoFixed Makefile linker flags
Niko Liikanen [Thu, 24 Aug 2006 19:57:09 +0000 (19:57 +0000)]
Fixed Makefile linker flags

15 years agoNative threads for Win32
Mikko Rasa [Thu, 24 Aug 2006 18:26:01 +0000 (18:26 +0000)]
Native threads for Win32

15 years agoWin32 tweaks
Niko Liikanen [Thu, 24 Aug 2006 16:03:09 +0000 (16:03 +0000)]
Win32 tweaks

15 years agoSignal definitions for Win32
Niko Liikanen [Thu, 24 Aug 2006 15:54:29 +0000 (15:54 +0000)]
Signal definitions for Win32

15 years agoUse an extra bool variable to indicate thread validity
Mikko Rasa [Thu, 24 Aug 2006 13:27:46 +0000 (13:27 +0000)]
Use an extra bool variable to indicate thread validity

15 years agoFirst version
Niko Liikanen [Wed, 23 Aug 2006 22:32:42 +0000 (22:32 +0000)]
First version

15 years agoAdd files
Mikko Rasa [Mon, 21 Aug 2006 17:04:11 +0000 (17:04 +0000)]
Add files

15 years agoCreate trunk
Mikko Rasa [Mon, 21 Aug 2006 17:01:49 +0000 (17:01 +0000)]
Create trunk