diff options
author | tastytea | 2020-01-09 11:23:30 +0100 |
---|---|---|
committer | tastytea | 2020-01-09 11:23:30 +0100 |
commit | 839e29b37ba4c36579e6a73ff150115e8177bd86 (patch) | |
tree | 8bec63194a6f5a391263c53323fead8c70490019 /include | |
parent | e4a5b8e9cea7016cf188372e8f04ae0cafe33d1e (diff) | |
download | mastodonpp-839e29b37ba4c36579e6a73ff150115e8177bd86.tar mastodonpp-839e29b37ba4c36579e6a73ff150115e8177bd86.tar.gz mastodonpp-839e29b37ba4c36579e6a73ff150115e8177bd86.zip |
Expand section about thread safety in documentation.
Diffstat (limited to 'include')
-rw-r--r-- | include/mastodonpp.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/mastodonpp.hpp b/include/mastodonpp.hpp index fec3ecf..11bde31 100644 --- a/include/mastodonpp.hpp +++ b/include/mastodonpp.hpp @@ -88,6 +88,14 @@ * (https://curl.haxx.se/libcurl/c/curl_global_cleanup.html) is called. Both * are not thread safe. * + * Do not make 2 requests with the same @link mastodonpp::Connection Connection + * @endlink at the same time. You can create as many @link + * mastodonpp::Connection Connection@endlink%s as you want from one @link + * mastodonpp::Instance Instance@endlink. + * + * If you are using libcurl with OpenSSL before 1.1.0, please read + * [libcurl-thread(3)](https://curl.haxx.se/libcurl/c/threadsafe.html). + * * @example example01_instance_info.cpp * @example example02_streaming.cpp */ |