This adds the MB parts of libthr for arm64
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
lib/libthr/arch/aarch64/include/pthread_md.h | ||
---|---|---|
78 ↗ | (On Diff #4400) | Why is this needed ? get_curthread() is only called in contexts where threading library should be already initialized, AFAIR. |
lib/libthr/arch/aarch64/include/pthread_md.h | ||
---|---|---|
78 ↗ | (On Diff #4400) | But why is it needed ? Is there something on arm64 which causes calls to get_curthread() to occur before tcb for main thread is initialized ? Either it is not needed, probably also on other listed platforms, or we have a bug on the non-listed architectures. Or some specific arm64 quirk that needs to be commented about in the _get_curthread() function. |