Fixing function pointer issues with thread decorator