andelf / andelf/go-curl

is curl_global_init handled safely? is the library thread-safe?

Aperta
#62 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
519
Fork
139
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

is the library supposed to be thread safe? note that curl_global_init() is NOT thread-safe, and curl_easy_init is threadsafe ONLY IF curl_global_init() has already been executed. if you start several threads that all call curl_easy_init() at the same time, before curl_global_init has been executed, you may run into problems, how does this reflect on go-curl?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.