From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <43C50BA1.7020908@domain.hid> Date: Wed, 11 Jan 2006 13:44:01 +0000 From: "S. ancelot" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Xenomai-help] newbie heap usage problem List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Hi, I tried to make a programming sample using heap . The heap seems to be created regarding registry in proc, but then the program seg faults Here is my program #include #include #include RT_HEAP *m; int x; int main() { mlockall(MCL_CURRENT|MCL_FUTURE); x = rt_heap_create(m,"toto",100,H_SHARED); rt_heap_delete(m); return 0; } Best Regards S@