Function wasix::callback_thread
source · [−]pub unsafe fn callback_thread(callback: &str)Expand description
Registers a callback function for new threads
Parameters
callback- Exported function that will be called back when a new thread is created (must match the callback signature that takes the u64 user_data) (if this is not specified the default will be “_start_thread”)