This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 47ece046a6da727737b10b2342cec7d3dd6469a3
Author:     Zhao Zhili <[email protected]>
AuthorDate: Sat Oct 17 14:14:00 2026 +0800
Commit:     Zhao Zhili <[email protected]>
CommitDate: Wed Oct 21 17:37:13 2026 +0000

    configure: stop probing for pthread_cancel
    
    HAVE_PTHREAD_CANCEL has no consumers left: udp no longer cancels its
    receive thread, and the dnn guards were already removed.
    
    Android bionic and Windows w32threads do not provide pthread_cancel(),
    and on Darwin a cancel request made while cancellation is disabled may
    never acted on (see PR #24886). Probing for pthread_cancel may invite
    new code to depend on it.
    
    Signed-off-by: Zhao Zhili <[email protected]>
---
 configure | 2 --
 1 file changed, 2 deletions(-)

diff --git a/configure b/configure
index a0a9ce3ffc..192a82f5b3 100755
--- a/configure
+++ b/configure
@@ -2536,7 +2536,6 @@ SYSTEM_FUNCS="
     PeekNamedPipe
     posix_memalign
     prctl
-    pthread_cancel
     pthread_set_name_np
     pthread_setaffinity_np
     pthread_setname_np
@@ -7162,7 +7161,6 @@ if ! disabled pthreads && ! enabled w32threads && ! 
enabled os2threads; then
 
     if enabled pthreads; then
         check_builtin sem_timedwait semaphore.h "sem_t *s; sem_init(s,0,0); 
sem_timedwait(s,0); sem_destroy(s)" $pthreads_extralibs
-        check_func pthread_cancel $pthreads_extralibs
         hdrs=pthread.h
         if enabled pthread_np_h; then
             hdrs="$hdrs pthread_np.h"

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to