Could you give me a quick overview as to how coprthr_tls_sbrk and coprthr_tls_brk work please? It seems like the coprthr_tls_sbrk(n) call allocates memory on the core and then coprthr_tls_sbrk(0) frees it again both returning a pointer. And coprthr_tls_brk(0) just frees it and does not return a pointer. Is that right?
Is it necessary to call void* memfree = coprthr_tls_sbrk(0) before calling coprthr_tls_sbrk(n) and then call coprthr_tls_brk(memfree) when everything is done?
nickStatistics: Posted by nickoppen — Fri Apr 15, 2016 4:57 am
]]>