Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ngscopeclient/scopehal-apps
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: db66737acc43
Choose a base ref
...
head repository: ngscopeclient/scopehal-apps
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1d628caecf90
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Aug 22, 2020

  1. Fixed wait policy check

    azonenberg committed Aug 22, 2020
    Copy the full SHA
    1d628ca View commit details
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/glscopeclient/main.cpp
3 changes: 2 additions & 1 deletion src/glscopeclient/main.cpp
Original file line number Diff line number Diff line change
@@ -220,7 +220,8 @@ int main(int argc, char* argv[])
#endif

//Complain if the OpenMP wait policy isn't set right
if(strcmp(getenv("OMP_WAIT_POLICY"), "PASSIVE") != 0)
const char* policy = getenv("OMP_WAIT_POLICY");
if((policy == NULL) || (strcmp(policy, "PASSIVE") != 0) )
LogWarning("glscopeclient works best with the OMP_WAIT_POLICY environment variable set to PASSIVE\n");

g_app = new ScopeApp;