Commit graph

174 commits

Author SHA1 Message Date
syntheticpp
c3da9552e6 add asserts to ClassLevelLockable
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@177 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-26 14:30:17 +00:00
syntheticpp
bd319aeaaa add some thread stuff
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@176 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-26 13:10:10 +00:00
syntheticpp
7af7ab498b fix logical error
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@175 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-26 13:09:16 +00:00
syntheticpp
612aacfc22 fix to be consistent with the definition of Conversion<T,void>{ enum{exits=0 ...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@174 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-26 12:26:48 +00:00
syntheticpp
55893e7b39 replace tabs
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@173 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-26 11:54:43 +00:00
syntheticpp
fdd476c49b remove some warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@172 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-26 11:52:22 +00:00
syntheticpp
da963073d4 mingw thread support
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@171 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-24 20:01:54 +00:00
syntheticpp
baa2869479 ObjectLevelLockable: add copy ctor which creates a new mutex. Thanks to sourceforge::horodrigues
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@170 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-24 19:19:41 +00:00
syntheticpp
c33413b35c remove unreferenced formal parameter
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@169 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-24 17:28:27 +00:00
rich_sposato
69b590f5ba Added include statement. Qualified namespace for Apply1.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@168 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-22 00:46:22 +00:00
rich_sposato
f2212c86dd Backported newer implementation of Small-Object Allocator back to VC6 since
it fixes several old bugs.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@167 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-22 00:41:07 +00:00
rich_sposato
b436c6aaee Added SmallValueObject, SmallObjectBase, and AllocatorSingleton classes.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@166 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-22 00:22:38 +00:00
syntheticpp
dea82286fa moved source files
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@165 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-20 10:58:34 +00:00
syntheticpp
784d4d529f moved source files
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@164 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-20 10:51:17 +00:00
syntheticpp
69ac2d0767 moved source files
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@163 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-20 10:47:50 +00:00
syntheticpp
8e2743e364 new include files
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@162 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-20 09:17:27 +00:00
syntheticpp
7078f3394a remove top level MSVC directory
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@161 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-20 08:57:02 +00:00
syntheticpp
3377cfc7df remove top level Borland directory
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@160 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-20 08:55:42 +00:00
syntheticpp
8501fb848f remove top level include files
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@159 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-20 08:55:01 +00:00
syntheticpp
9993211f95 move MSVC
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@158 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-20 08:44:19 +00:00
syntheticpp
339dcd4233 move directory: MSVC->include/noncc
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@157 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-20 08:40:01 +00:00
syntheticpp
33e8c0a9d2 move directory: Borland->include/noncc
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@156 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-20 08:34:21 +00:00
syntheticpp
ec798ff372 move and top level include files to include/noncc/loki
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@155 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-20 08:33:40 +00:00
syntheticpp
48c452fb9c move and rename directory: Reference->include/loki
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@154 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-20 07:28:37 +00:00
rich_sposato
65ffb94fe1 Fixed overflow bug in calculating number of blocks per Chunk.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@153 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-20 00:34:15 +00:00
syntheticpp
9bc95aebd0 change last update date
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@152 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-18 11:39:38 +00:00
syntheticpp
ca73030a03 move asserts to the correct place
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@151 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-18 07:17:29 +00:00
syntheticpp
d4a72ab914 enable windows specific thread stuff
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@150 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-17 19:32:55 +00:00
syntheticpp
718d2b32de remove tabs
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@149 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-17 17:47:46 +00:00
syntheticpp
a113094a56 SmallObjects.cpp: move code before asserts, additional comments
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@148 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-17 17:26:13 +00:00
rich_sposato
6be6c69292 Fixed bug in FixedAllocator::Allocate. (Many thanks to Chad Lehman.)
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@147 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-14 08:50:34 +00:00
rich_sposato
fbb100b84c Reimplemented SmallObject Allocator to provide all 3 forms of new and
delete operators with appropriate exception safety level for each, and
greater efficiency for all.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@146 7ec92016-0320-0410-acc4-a06ded1c099a
2005-04-07 05:36:44 +00:00
rani_sharoni
7d790e2232 fix bug reported by synteticpp - make Functor function call member const
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@144 7ec92016-0320-0410-acc4-a06ded1c099a
2004-11-17 15:54:59 +00:00
aandrei
d02e09c977 replaced Loki:: with ::Loki:: in DEFINE_VISITABLE
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@143 7ec92016-0320-0410-acc4-a06ded1c099a
2004-09-28 13:01:55 +00:00
aandrei
1caaa2b01d September 25, 2004: Fixed bug in PrototypeFactoryUnit::GetPrototype, thanks to a bug report submitted by funcall
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@142 7ec92016-0320-0410-acc4-a06ded1c099a
2004-09-26 06:44:17 +00:00
aandrei
934bc1b147 September 25, 2004: Fixed bug in PrototypeFactoryUnit::GetPrototype, thanks to a bug report submitted by funcall
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@141 7ec92016-0320-0410-acc4-a06ded1c099a
2004-09-26 06:44:17 +00:00
aandrei
f0620e3c6e Finally replaced the ">" with "<" in LifetimeTracker
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@140 7ec92016-0320-0410-acc4-a06ded1c099a
2004-09-22 20:30:44 +00:00
rani_sharoni
032435692c fix bug 960061
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@139 7ec92016-0320-0410-acc4-a06ded1c099a
2004-08-04 14:56:18 +00:00
humesikkins
36c16b1f2c no message
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@138 7ec92016-0320-0410-acc4-a06ded1c099a
2004-03-18 10:59:39 +00:00
humesikkins
eb9cb926a9 Changed value parameter to reference parameter in FunctorBase and FunctorVoidBase Ctors
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@137 7ec92016-0320-0410-acc4-a06ded1c099a
2004-03-18 10:59:09 +00:00
humesikkins
15f21dd90a no message
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@136 7ec92016-0320-0410-acc4-a06ded1c099a
2004-03-18 10:57:51 +00:00
humesikkins
3cf210ef61 Added operator=-workaround for pointer-assignment
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@135 7ec92016-0320-0410-acc4-a06ded1c099a
2004-03-18 10:57:28 +00:00
rani_sharoni
5896652d4d fix SmartPtr conversion issues
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@134 7ec92016-0320-0410-acc4-a06ded1c099a
2004-03-14 16:41:35 +00:00
rani_sharoni
de3e4bf67c fix 857415: Calling convention issue with MSVC
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@133 7ec92016-0320-0410-acc4-a06ded1c099a
2003-12-11 16:48:26 +00:00
rani_sharoni
118c72dad1 ThreadingModel used in const member function
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@132 7ec92016-0320-0410-acc4-a06ded1c099a
2003-12-02 18:52:18 +00:00
rani_sharoni
30b3c736af Added support for policy based explicit/implicit constructor
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@131 7ec92016-0320-0410-acc4-a06ded1c099a
2003-08-21 12:55:14 +00:00
rani_sharoni
36a53ca896 fix bug 791236
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@130 7ec92016-0320-0410-acc4-a06ded1c099a
2003-08-21 09:12:34 +00:00
rani_sharoni
cb87a9bdac fix bug 787388
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@129 7ec92016-0320-0410-acc4-a06ded1c099a
2003-08-19 10:58:14 +00:00
humesikkins
0ec9a1db40 added Loki-Namespace-Qualification to definition of ClassLevelLockable's static member.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@128 7ec92016-0320-0410-acc4-a06ded1c099a
2003-03-25 23:52:04 +00:00
humesikkins
39e2a0557e no message
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@127 7ec92016-0320-0410-acc4-a06ded1c099a
2003-03-21 16:54:50 +00:00