Re: Run time linker allocator locking hangs RTEMS

2019-04-27 Thread Chris Johns
On 27/4/19 10:23 pm, dufa...@hda.com wrote: > This is because RTL locks out heap operations.  For ELF > files /rtems_rtl_alloc_lock() /calls /rtem_rtl_alloc_heap() /and that > calls /_RTEMS_Lock_allocator()/ which locks the heap.  Then RTL calls /read() > /and the NFS threads try to use the heap. 

Re: Run time linker allocator locking hangs RTEMS

2019-04-27 Thread dufault
This is because RTL locks out heap operations. For ELF files rtems_rtl_alloc_lock() calls rtem_rtl_alloc_heap() and that calls _RTEMS_Lock_allocator() which locks the heap. Then RTL calls read() and the NFS threads try to use the heap. (gdb) up #1 0x00135394 in rtems_rtl_alloc_lock () a