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

QPID-7926: [c++ broker] Windows build error "cannot convert from 'int… #13

Merged
merged 1 commit into from
Apr 10, 2018

Commits on Apr 10, 2018

  1. QPID-7926: [c++ broker] Windows build error "cannot convert from 'int…

    …' to 'qpid::sys::PODMutex'"
    
    Renamed PODMutex as GlobalMutex. The important point is that it can be used as a
    global variable. In POSIX we use a POD class and static initializer to acomplish
    this, but on windows we use boost::recursive_mutex, which is documented as being
    safe for use as a global variable.
    
    Modified the QPID_MUTEX_INITIALIZER macro to be empty on windows and '= { 0 }'
    on POSIX.
    
    This closes apache#11
    ssorj authored and alanconway committed Apr 10, 2018
    Configuration menu
    Copy the full SHA
    9f823d4 View commit details
    Browse the repository at this point in the history