added thread-un-safety warning to docs

Signed-off-by: Jan Dvořák <mordae@anilinux.org>