HaxeFoundation / HaxeFoundation/hxcpp
bus error from unaligned access in threads on 64bit raspberry pi.
Open
- Dominant language
- C++
- Stars
- 330
- Forks
- 227
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 18
Description
hxcpp Threads are causing bus errors an 64bit (os) RaspberryPi .
forcing HXCPP_ALIGN_ALLOC solves the problem.
quoting Hugh:
`the better way would be to replace the pthread_cond_init calls with a malloc + a pthread_cond_init call and the pthread_cond_destroy calls with a pthread_cond_destroy + free calls. Same for pthread_mutex_t. In Thread.h and Thread.cpp`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.