Index: Source/wtf/CryptographicallyRandomNumber.h |
diff --git a/Source/wtf/CryptographicallyRandomNumber.h b/Source/wtf/CryptographicallyRandomNumber.h |
index 53eb5c9846c6dc15b5f9358033c6d29109c0fa6f..00a8717bd65d70b2fed9efd754daf1239db22a27 100644 |
--- a/Source/wtf/CryptographicallyRandomNumber.h |
+++ b/Source/wtf/CryptographicallyRandomNumber.h |
@@ -34,8 +34,10 @@ namespace WTF { |
typedef void (*RandomNumberSource)(unsigned char*, size_t); |
+// The RandomNumberSource function MUST be threadsafe. |
WTF_EXPORT void setRandomSource(RandomNumberSource); |
+// These functions are threadsafe. |
WTF_EXPORT uint32_t cryptographicallyRandomNumber(); |
WTF_EXPORT void cryptographicallyRandomValues(void* buffer, size_t length); |