Commit Graph

48 Commits

Author SHA1 Message Date
florian
6a1a2d3464 * get rid of some feature checks, probably the whole feature stuff is plainly the wrong way, embedded rtl compiles again, resolves #20913
git-svn-id: trunk@19907 -
2011-12-29 14:06:30 +00:00
florian
6800465021 + fix compilation on wince
git-svn-id: trunk@19437 -
2011-10-09 17:32:29 +00:00
florian
375f83c874 * moved heap manager on embedded systems into a separate unit
* moved console io on embedded systems into a seperate unit, this unit might setup input/output e.g. to be redirected to a serial port
* cleanup of the embedded system unit

git-svn-id: trunk@19168 -
2011-09-21 20:57:37 +00:00
florian
f90acc40d9 * made GetMemory, FreeMemory, ReallocMemory delphi compatible, resolves #17530
git-svn-id: trunk@16075 -
2010-10-02 19:15:58 +00:00
Jonas Maebe
533f533868 * changed destination parameter of getmem/getmemory from "var" to "out"
(mantis #11907)

git-svn-id: trunk@13036 -
2009-04-25 09:57:29 +00:00
yury
e00bacdcef * Removed HAS_MT_MEMORYMANAGER define, since it is obsolete now.
git-svn-id: trunk@9556 -
2007-12-28 11:30:46 +00:00
daniel
0c3a2a257d * Convert heap to ptruint.
git-svn-id: trunk@7950 -
2007-07-04 19:46:47 +00:00
micha
7f2a257102 + heap manager now per thread, reduce heap lock contention
+ heap threading test

git-svn-id: trunk@7407 -
2007-05-20 20:58:12 +00:00
micha
63c49a1555 * fix performance regression in binary-trees benchmark
git-svn-id: trunk@7207 -
2007-04-30 15:29:07 +00:00
michael
fccc19aa5c + Removed HASGETHEAPSTATUS HASGETFPCHEAPSTATUS defines
git-svn-id: trunk@311 -
2005-06-09 18:04:47 +00:00
michael
a775d3d487 + Removed HASCURRENCY VALUEGETMEM VALUEFREEMEM defines
git-svn-id: trunk@293 -
2005-06-09 17:33:22 +00:00
peter
4ace790492 * remove $Log
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
florian
0d7aaab6b8 * patch from Ales Katona making the memory manager more
smart when releasing memory chunks back to the OS

git-svn-id: trunk@190 -
2005-06-04 10:53:38 +00:00
fpc
790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
fpc
50778076c3 initial import
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
peter
617bd39762 * fix getheapstatus bootstrapping 2005-03-04 16:49:34 +00:00
marco
daf59fbd7e * getFPCheapstatus (no, FPC HEAP, not FP CHEAP!) 2005-02-28 15:38:38 +00:00
peter
e417e34496 * truncate log 2005-02-14 17:13:06 +00:00
peter
a263b1d40e * GetHeapStatus added, removed MaxAvail,MemAvail,HeapSize 2004-11-22 19:34:58 +00:00
peter
cd35d3fd5e * readded support for ReturnIfGrowHeapFails 2004-06-29 20:50:32 +00:00
peter
244b6d1435 fixed go32v2 compile 2004-06-20 09:24:40 +00:00
peter
2ed14823c5 * New heapmanager that releases memory back to the OS, donated
by Micha Nelissen
2004-06-17 16:16:13 +00:00
peter
abfc396c40 * cmem moved to rtl
* longint replaced with ptrint in heapmanagers
2004-03-15 21:48:26 +00:00
marco
fcde2c3ffa * *memORY overloads 2003-10-02 14:03:24 +00:00
peter
ca3679e4bf * MemoryManager record has a field NeedLock if the wrapper functions
need to provide locking for multithreaded programs
2002-10-30 20:39:13 +00:00
peter
5fff238567 * threads unit added for thread support 2002-10-14 19:39:16 +00:00
peter
01dfac4a4e * old logs removed and tabs fixed 2002-09-07 15:06:34 +00:00
peter
7484da248d * freemem(var) -> freemem(value) 2001-12-03 21:39:19 +00:00
michael
650fbb86aa + removed logs 2000-07-13 11:32:24 +00:00
michael
e7aca136a1 + Initial import 2000-07-13 06:29:38 +00:00
pierre
e9f1439f5a + ReturnNilIfGrowHeapFails used in objects unit
to handle TMemoryStream out of memory properly
    as MaxAvail is not a good test anymore.
2000-04-07 21:10:35 +00:00
peter
6b66a55cd6 * truncated log 2000-02-09 16:59:28 +00:00
peter
ba0b8a2e1b * reallocmem fixed for freemem() call when size=0 2000-01-31 23:41:30 +00:00
Jonas Maebe
2c25000f32 * fixed problem with reallocmem and heaptrc 2000-01-20 12:35:35 +00:00
daniel
ec29a31834 * copyright 2000 2000-01-07 16:41:28 +00:00
daniel
a79b4a404b * copyright 2000 added 2000-01-07 16:32:21 +00:00
peter
6a10b2661b * freemem,reallocmem now get var argument 1999-11-01 13:56:50 +00:00
peter
71d7f4ef38 * memorymanager expanded with allocmem/reallocmem 1999-10-30 17:39:05 +00:00
peter
88b7b037b2 + new heap manager supporting delphi freemem(pointer) 1999-09-17 17:14:11 +00:00
peter
e161a3e489 * growing is now 256k or 1mb 1999-05-31 20:36:34 +00:00
florian
e7dacebccc * fixed small things regarding TEMPHEAP 1999-02-08 09:31:39 +00:00
peter
2a14ecc703 + memorymanager like delphi 1998-10-01 14:55:17 +00:00
peter
53dcf00218 * moved getmem/freemem/memavail/maxavail to heaph.inc 1998-09-08 15:03:27 +00:00
michael
c33e3788cd Reinstated the heapsize function. 1998-07-02 14:11:30 +00:00
carl
a364f24f24 - function heapsize MUST be removed, create conflicts with HEAPSIZE var 1998-07-02 12:13:49 +00:00
peter
e64becf81c * moved getopts to inc/, all supported OS's need argc,argv exported
+ strpas, strlen are now exported in the systemunit
  * removed logs
  * removed $ifdef ver_above
1998-05-12 10:42:41 +00:00
peter
e4328d08e2 + heapblocks 1998-04-21 10:22:48 +00:00
root
d1a1f501c8 Initial revision 1998-03-25 11:18:12 +00:00