mirror of
https://github.com/curl/curl.git
synced 2026-08-25 13:33:36 +03:00
asyn-thrdd: remove condition variable
Add a flag `thrd_don` to assess if the resolving thread has finished and only destroy the context when *both* ref_count reaches 0 and thrd_done is true. Closes #18345
This commit is contained in:
parent
c83fa990bd
commit
8ebea37eb1
4 changed files with 13 additions and 42 deletions
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
#include "curl_threads.h"
|
||||
#include "curl_memory.h"
|
||||
/* The last #include file should be: */
|
||||
/* The last #include FILE should be: */
|
||||
#include "memdebug.h"
|
||||
|
||||
#ifdef USE_THREADS_POSIX
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue