Function udt::init [] [src]

pub fn init()

Initialize the UDT library.

In particular, starts the background garbage collection thread.

It is safe to call this function multiple times. A corresponding cleanup function will automatically be called when the program exists.