lfittl
4ff2a48e5a
Fixed makefiles for GNU/kFreeBSD, GNU/hurd
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@826 7ec92016-0320-0410-acc4-a06ded1c099a
2007-05-29 02:25:39 +00:00
syntheticpp
aab20bdd87
add missing parameter
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@825 7ec92016-0320-0410-acc4-a06ded1c099a
2007-05-22 19:19:01 +00:00
rich_sposato
b1a4b3a047
Added CheckReturn facility to Loki.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@824 7ec92016-0320-0410-acc4-a06ded1c099a
2007-05-09 00:57:06 +00:00
lfittl
214635bfc1
- Fixed build failures with gcc 4.3 pre-release
...
(http://bugs.debian.org/413432 )
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@823 7ec92016-0320-0410-acc4-a06ded1c099a
2007-05-08 10:48:40 +00:00
lfittl
2fdafe3884
- Fix test build failure by using class level threading
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@822 7ec92016-0320-0410-acc4-a06ded1c099a
2007-05-07 14:23:19 +00:00
rich_sposato
5767923ea5
Added documentation comment describing thread race condition.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@821 7ec92016-0320-0410-acc4-a06ded1c099a
2007-05-01 16:22:02 +00:00
rich_sposato
b4f940e59b
Added more tests for weak pointer.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@820 7ec92016-0320-0410-acc4-a06ded1c099a
2007-03-07 01:17:51 +00:00
rich_sposato
0699d642fd
Changed TwoRefCounts dtor and minor change to SmallObj.cpp code.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@819 7ec92016-0320-0410-acc4-a06ded1c099a
2007-03-07 00:30:12 +00:00
rich_sposato
dcf9d7f1d8
Fixed bug 1668356 by making dtor inline and empty, and changing StrongPtr dtor.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@818 7ec92016-0320-0410-acc4-a06ded1c099a
2007-03-07 00:28:17 +00:00
rich_sposato
c95d4ccc74
Fixed compiler error that occurs when using 64 bit pointers.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@817 7ec92016-0320-0410-acc4-a06ded1c099a
2007-03-01 01:54:23 +00:00
rich_sposato
281d57aa5e
Added another test for StrongPtr.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@816 7ec92016-0320-0410-acc4-a06ded1c099a
2007-03-01 01:24:43 +00:00
rich_sposato
5bc174ffce
Added destructor to TwoRefCounts.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@815 7ec92016-0320-0410-acc4-a06ded1c099a
2007-03-01 01:23:48 +00:00
rich_sposato
1d13860d12
Added destructor to TwoRefCounts.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@814 7ec92016-0320-0410-acc4-a06ded1c099a
2007-03-01 01:23:22 +00:00
syntheticpp
33f43a9300
prepare release
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@813 7ec92016-0320-0410-acc4-a06ded1c099a
2007-02-25 15:49:51 +00:00
syntheticpp
2e0c65e50d
prepeare release
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@812 7ec92016-0320-0410-acc4-a06ded1c099a
2007-02-25 15:11:13 +00:00
syntheticpp
6692530e27
prepeare release
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@811 7ec92016-0320-0410-acc4-a06ded1c099a
2007-02-25 15:09:17 +00:00
syntheticpp
4ab172fcf6
remove msvc8 warnings
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@810 7ec92016-0320-0410-acc4-a06ded1c099a
2007-02-25 14:36:28 +00:00
syntheticpp
e53177ef92
msvc8 fix
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@809 7ec92016-0320-0410-acc4-a06ded1c099a
2007-02-25 14:34:30 +00:00
syntheticpp
4fc70080d3
remove warning
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@808 7ec92016-0320-0410-acc4-a06ded1c099a
2007-02-25 13:08:45 +00:00
syntheticpp
af68912216
move macro switched code into the header to fix linker errors.
...
By this we don't need special libraries for the
#if defined (LOKI_OBJECT_LEVEL_THREADING) || defined (LOKI_CLASS_LEVEL_THREADING)
case.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@807 7ec92016-0320-0410-acc4-a06ded1c099a
2007-02-25 12:49:19 +00:00
rich_sposato
6050c23d24
Added trivial bodies for assignment operators.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@806 7ec92016-0320-0410-acc4-a06ded1c099a
2007-02-03 00:01:52 +00:00
rich_sposato
cc0392d433
Added tests for StrongPtr comparison operators.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@805 7ec92016-0320-0410-acc4-a06ded1c099a
2007-01-13 01:47:23 +00:00
rich_sposato
015404028e
Made GetPointer function protected to avoid exposing raw pointer. Added helper functions for comparison operators.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@804 7ec92016-0320-0410-acc4-a06ded1c099a
2007-01-12 19:13:38 +00:00
rich_sposato
68f59e4e58
Made functions protected instead of public.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@803 7ec92016-0320-0410-acc4-a06ded1c099a
2007-01-12 01:10:22 +00:00
clitte_bbt
347e1f95f8
STL guaranties that operator* and operator. are defined for iterators.
...
operator-> is added as a requirement by the ISO/ANSI commitee standarzing C++ from july 1995.
So old implementation might fail using operator-> on iterator.
Converting every "itr->first" into "(*itr).first"
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@802 7ec92016-0320-0410-acc4-a06ded1c099a
2007-01-03 21:50:07 +00:00
clitte_bbt
c54349f058
Adding "Id" keyword property to SVN
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@801 7ec92016-0320-0410-acc4-a06ded1c099a
2007-01-03 21:40:12 +00:00
rich_sposato
3feb5442a9
Added compile tests of multiple parameters with ScopeGuard.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@800 7ec92016-0320-0410-acc4-a06ded1c099a
2006-12-22 01:08:21 +00:00
rich_sposato
f4e5e91794
Added more documenation comments. Added classes for functions with more parameters.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@799 7ec92016-0320-0410-acc4-a06ded1c099a
2006-12-20 00:37:13 +00:00
rich_sposato
c8f0564ebb
Added documenation comments.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@798 7ec92016-0320-0410-acc4-a06ded1c099a
2006-12-19 22:58:15 +00:00
rich_sposato
d5ce57ee3b
Added test for ScopeGuard.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@797 7ec92016-0320-0410-acc4-a06ded1c099a
2006-12-19 19:51:06 +00:00
clitte_bbt
35888376f1
enlightenment
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@796 7ec92016-0320-0410-acc4-a06ded1c099a
2006-12-18 19:29:30 +00:00
clitte_bbt
401fdba600
Optimizing the update of counters for the EvictAging policy.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@795 7ec92016-0320-0410-acc4-a06ded1c099a
2006-12-18 07:20:08 +00:00
clitte_bbt
d42dc485d9
CachedFactory destruction was leaking memory (cached objects were not deleted).
...
What to do with in use objects ? Deleting anyway for the moment but it might not be a good idea...
Any comments are welcome.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@794 7ec92016-0320-0410-acc4-a06ded1c099a
2006-12-17 21:02:00 +00:00
clitte_bbt
1e3c460b3c
Adding a bit of documentation.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@793 7ec92016-0320-0410-acc4-a06ded1c099a
2006-12-17 16:43:55 +00:00
clitte_bbt
10f1b011c6
Integration of SmartPointer encapsulation policy for CachedFactory.
...
Once the smart pointer goes out of scope, the object is automatically returned to the Cache.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@792 7ec92016-0320-0410-acc4-a06ded1c099a
2006-12-17 14:59:06 +00:00
rich_sposato
97e1fd6b59
Moved Locker class out of LockedStorage to accomodate GCC compiler.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@791 7ec92016-0320-0410-acc4-a06ded1c099a
2006-12-15 01:36:29 +00:00
rich_sposato
6eabeea489
Added documentation comments for LockedStorage policy.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@790 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-29 19:16:39 +00:00
clitte_bbt
3b3153fd32
Using "using" in a header could lead to error in client code.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@789 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-27 20:45:39 +00:00
clitte_bbt
325c79f896
Making old and new Factory code more coherent.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@788 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-24 22:30:54 +00:00
syntheticpp
b072da9f73
clock/clock_t are not in std:: on msvc, fix wrong type of pure virtual functions
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@787 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-22 22:56:46 +00:00
syntheticpp
a62f5f4078
clock/clock_t are not in std:: on msvc
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@786 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-22 22:55:35 +00:00
clitte_bbt
7dc499a4e1
Adding several const, assert, and small optimizations
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@785 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-21 20:31:27 +00:00
rich_sposato
59bc51b565
Added test for LockedStorage policy.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@784 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-21 01:37:15 +00:00
rich_sposato
eb92853ac1
Added LockedStorage policy for feature 1441024.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@783 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-21 01:34:45 +00:00
rich_sposato
d560a3f491
Made Lock and Unlock functions public.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@782 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-21 01:32:26 +00:00
clitte_bbt
1ecc9448b9
Added caution about accuracy of the std::clock() function of RateLimitedPolicy under linux and Cygwin environnement.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@781 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-20 23:43:08 +00:00
clitte_bbt
f6e7714eca
Added the getmilliSeconds() function for the WIN32 environnement.
...
_WIN32 & MinGW compiler uses std::clock()
_CYGWIN_ & linux compilers uses gettimeofday() implementation
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@780 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-20 23:41:15 +00:00
clitte_bbt
7dbb105cab
linux std::clock is not precise enough. Changing to gettimeofday to retrieve ms precision.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@779 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-20 22:36:28 +00:00
syntheticpp
a9e96971c0
update
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@778 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-16 13:27:28 +00:00
syntheticpp
1a98988134
fix compiler error on the SUN, hope no compiler defines a upper case letter, thanks to Rob Yull
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@777 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-09 13:26:08 +00:00