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

Thread safe TListOfFunctions #46

Commits on Feb 15, 2015

  1. Made TClass::fMethod atomic

    The pointer TClass::fMethod can be assigned and then read by different
    threads and therefore we need to guarantee its thread safety.
    Dr15Jones committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    1769b75 View commit details
    Browse the repository at this point in the history
  2. Made TListOfFunctions thread safe

    TlistOfFunctions can update itself over time, even from calls to
    const functions. Since the class instances are available globally
    they need to be threads safe. This required that all 'const' functions
    take the global lock. In addition, a new iterator was needed which
    takes the global lock on the call to Next().
    Dr15Jones committed Feb 15, 2015
    Configuration menu
    Copy the full SHA
    68c25a9 View commit details
    Browse the repository at this point in the history