unref
Decrease the reference count on @thread, possibly freeing all resources associated with it.
Note that each thread holds a reference to its #GThread while it is running, so it is safe to drop your own reference to it if you don't need it anymore.
Since
2.32