mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:21:41 +03:00
parent
aa34135e8f
commit
5a1a892565
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ static inline void curl_simple_lock_lock(curl_simple_lock *lock)
|
|||
#if defined(__i386__) || defined(__x86_64__)
|
||||
__builtin_ia32_pause();
|
||||
#elif defined(__aarch64__)
|
||||
asm volatile("yield" ::: "memory");
|
||||
__asm__ volatile("yield" ::: "memory");
|
||||
#elif defined(HAVE_SCHED_YIELD)
|
||||
sched_yield();
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue