[all-commits] [llvm/llvm-project] b6ee81: [libc] EAGAIN and EWOULDBLOCK should be treated as...

Schrodinger ZHU Yifan via All-commits all-commits at lists.llvm.org
Thu Jun 11 14:45:47 PDT 2026


  Branch: refs/heads/users/schrodingerzhu/libc-futex-fix
  Home:   https://github.com/llvm/llvm-project
  Commit: b6ee81ac5ab28833dd043c1c3bc01b2fe9995e94
      https://github.com/llvm/llvm-project/commit/b6ee81ac5ab28833dd043c1c3bc01b2fe9995e94
  Author: Schrodinger ZHU Yifan <yfzhu at google.com>
  Date:   2026-06-11 (Thu, 11 Jun 2026)

  Changed paths:
    M libc/src/__support/threads/linux/futex_utils.h

  Log Message:
  -----------
  [libc] EAGAIN and EWOULDBLOCK should be treated as success in futex wait

The `futex` wait function means waiting until a real change has been detected. We should not reject valid EAGAIN/EWOULDBLOCK kernel detection as failures.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list