Hi,

while doing some tests with memory heap servives I encountered the following:
a) documentation for rt_heap_bind() states "User-space task (switches to
   primary mode)" which is actually switching from primary-mode to
   secondary-mode. 
Reference:
http://www.xenomai.org/documentation/xenomai-2.6/html/api/group__native__heap.html

b) rt_heap_bind() also switches silently from primary-mode to secondary-mode
   (SIGXPU will not be raised by rt_heap_bind() ) .

As far as I understand, mapping of memory needs to be done in secondary-mode.
Is there some major reason why a mode transition is done without raising
SIGXPU in __rt_heap_bind() (syscall.c:2648 (Release 2.6.2.1) ? 
(it is done silently at __rt_queue_bind as well)

W.


_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to