Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #3646

MemPool for realtime systems was updated again...

Path csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Ramine <toto@toto.net>
Newsgroups comp.programming.threads
Subject MemPool for realtime systems was updated again...
Date Sat, 4 Mar 2017 16:08:57 -0500
Organization A noiseless patient Spider
Lines 56
Message-ID <o9fa9j$d03$1@dont-email.me> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Sat, 4 Mar 2017 21:06:59 -0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="d2c25bfe4c22dd4ad5adcabae960630e"; logging-data="13315"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18joEuObY8esrWC2wg/qBqD"
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1
X-Mozilla-News-Host news://news.eternal-september.org:119
Cancel-Lock sha1:5tcLvZY8qJqUDgi9t3WUL/0PuiI=
Xref csiph.com comp.programming.threads:3646

Show key headers only | View raw


Hello,

MemPool for realtime systems was updated again...

The previous TStack was not real-time, I have written a Stack.pas that 
is a bounded stack that makes MemPool real-time, and i have enhanced 
MemPool too.


Description:

Real-Time Memory Management

In Delphi and FreePascal, memory management is normally performed using 
getmem,allocmem, freemem, reallocmem, etc. The run-time system's heap 
offers great flexibility and efficiency, but it cannot fulfil real-time 
requirements. The run-time requirements are non-deterministic. In 
addition, they may require blocking task switches, which makes them 
unusable for interrupt handlers.

MemPool that uses generics offers memory management with real-time 
capabilities through Memory Pools. A Memory Pool is an isolated heap 
with data buffers as objects of equal size. Any number of memory pools 
can exist simultaneously. A pool is initialized once and allocated a 
certain number of buffers as objects. Thereafter, buffers
as objects can be allocated and deallocated from the pool under 
real-time conditions.

You can use it with Delphi 2009 and up on the following RTOS:

Win32 API Compatible RTOS for 32/64-bit x86 Embedded Systems
On Time's royalty-free hard real-time embedded operating system for 
32/64-bit x86 CPUs implements a Windows subset kernel in only 16k of 
memory. It provides about 400 Win32 API functions and can load Windows DLLs.

Read more here:

http://www.on-time.com/rtos-32.htm

http://www.on-time.com/rttarget-32.htm

And please look at test.pas demo inside the zipfile - compile and 
execute it...


You can download MemPool from:

https://sites.google.com/site/aminer68/mempool-for-realtime-systems



Thank you,
Amine Moulay Ramdane.


Back to comp.programming.threads | Previous | Next | Find similar | Unroll thread


Thread

MemPool for realtime systems was updated again... Ramine <toto@toto.net> - 2017-03-04 16:08 -0500

csiph-web