Commit graph

340 commits

Author SHA1 Message Date
syntheticpp
da325e4b8e tabs/space
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@193 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 14:13:46 +00:00
syntheticpp
9e4ea0178b test for factory with parameters
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@192 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 14:07:40 +00:00
syntheticpp
c9a317ceea test for factory with parameters
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@191 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 14:05:05 +00:00
syntheticpp
2c7b241eaf new macros for default threading
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@190 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 14:04:07 +00:00
syntheticpp
c85f9b568f new Factory, create functions with parameters
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@189 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 14:03:30 +00:00
syntheticpp
ad1de6274f gcc -pedantic correction
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@188 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 07:02:58 +00:00
syntheticpp
2c8ae86eee error on incomplete types, void fix
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@187 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 06:49:46 +00:00
syntheticpp
6037b312a6 error on incomplete types, void fix
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@186 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 06:42:33 +00:00
syntheticpp
3a7eb042b9 prepare for next SmallObject version
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@185 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 06:12:32 +00:00
syntheticpp
a3ad4d38e2 fix fug SuperSubclass and incomplete classes, 630897
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@184 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-27 19:59:05 +00:00
syntheticpp
ecd3aa136e fix fug SuperSubclass and incomplete classes, 630897
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@183 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-27 19:26:55 +00:00
syntheticpp
7fa263d636 asserts to catch >static initialization order fiasco<
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@182 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-27 17:33:50 +00:00
syntheticpp
a5e61478b6 differnt locks for different SingletonHolders. bug 691687
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@181 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-27 17:33:22 +00:00
syntheticpp
c4e9df64c2 asserts to catch >static initialization order fiasco<
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@180 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-27 16:32:20 +00:00
syntheticpp
dddd95d48d add asserts to ClassLevelLockable
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@179 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-26 15:11:48 +00:00
syntheticpp
1237efed14 bug fix, default threading support
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@178 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-26 14:33:30 +00:00
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