curl-library
curl_global_init/cleanup
Date: Wed, 12 Jun 2002 17:10:23 +0200
Hello,
documentation about these two functions says, that both should be called
only once for each process,
the first prior to any usage, the second after any usage.
However, I am interested in using libcurl in an environment where I
cannot ensure that these conditions
are met. There are some hints in the documentation mentioning that at
least curl_easy_perform checks
for curl_global_init having appropriatly initialized *whatsoever*, and
some experiments suggest to me
that for instance the library keeps working even after a initial
callsequence init-init-cleanup, but this
experiment I have made only for win32.
Is it generally save to assume that the library behaves well without any
calls to 'curl_global_init' and
an arbitrary number of calls to 'curl_global_cleanup' ?
Andreas Bille
_______________________________________________________________
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
Received on 2002-06-12