VirtualBox

Changeset 89870 in vbox for trunk/src


Ignore:
Timestamp:
Jun 23, 2021 8:51:30 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145328
Message:

IPRT/thread-posix.cpp: On Solaris SIGRTMAX is defined to a function call, so avoid using it in a 'static const' table or will end up with the compiler serializing the initialization and the GA build failing. bugref:10008

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/thread-posix.cpp

    r89647 r89870  
    167167     * Note! Avoid SIGRTMIN thru SIGRTMIN+2 because of LinuxThreads.
    168168     */
    169 # ifndef RT_OS_LINUX /* glibc defines SIGRTMAX to __libc_current_sigrtmax(), causing compiler to deploy serialization here. */
     169# if !defined(RT_OS_LINUX) && !defined(RT_OS_SOLARIS) /* glibc defines SIGRTMAX to __libc_current_sigrtmax() and Solaris libc defines it relying on _sysconf(), causing compiler to deploy serialization here. */
    170170    static
    171171# endif
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette