Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RISC-V] Disable robust mutexes in PAL on Qemu #106123

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Aug 8, 2024

  1. [RISC-V] Disable robust mutexes in PAL on Qemu

    Before this change due to https://gitlab.com/qemu-project/qemu/-/issues/2446
    we get lot of System.Threading.Tests/System.IO.IsolatedStorage.Tests errors like:
    
    System.Threading.Tests.MutexTests.AbandonExisting(name: "Local\\0908829282ce40db90b073ccd04b4c62", waitType: WaitAny, waitCount: 1, notAbandonedWaitIndex: 0, isNotAbandonedWaitObjectSignaled: False, abandonDuringWait: False) [FAIL]
          System.AggregateException : One or more errors occurred. (Not enough storage is available to process this command. : 'Local\0908829282ce40db90b073ccd04b4c62'. One or more system calls failed: pthread_mutex_init(...) == ENOTSUP/EOPNOTSUPP;)
          ---- System.IO.IOException : Not enough storage is available to process this command. : 'Local\0908829282ce40db90b073ccd04b4c62'. One or more system calls failed: pthread_mutex_init(...) == ENOTSUP/EOPNOTSUPP;
    
    In this patch we force PAL to use file locks which fixes System.Threading.Tests/System.IO.IsolatedStorage.Tests on Qemu.
    yurai007 committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    f28142d View commit details
    Browse the repository at this point in the history