[][src]Function coz::thread_init

pub fn thread_init()

Perform one-time per-thread initialization for coz.

This may not be necessary to call, but for good measure it's recommended to call once per thread in your application near where the thred starts. If you run into issues with segfaults related to SIGPROF handlers this may help fix the issue since it installs a bigger stack earlier on in the process.