Fix. Improve compatibility with llthreads.