Ignore:
Timestamp:
Jul 31, 2011 10:46:42 AM (9 years ago)
Author:
stefan
Message:

add method to indicate whether Cbc library has been compiled with multithreading support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/2.7/Cbc/src/CbcThread.cpp

    r1573 r1711  
    18951895    }
    18961896}
     1897
     1898/// Indicates whether Cbc library has been compiled with multithreading support
     1899bool CbcModel::haveMultiThreadSupport() { return true; }
     1900
    18971901#else
    1898 // Dummy so file not empty
    18991902// Default constructor
    19001903CbcBaseModel::CbcBaseModel() {}
    1901 #endif
    1902 
     1904
     1905bool CbcModel::haveMultiThreadSupport() { return false; }
     1906#endif
     1907
Note: See TracChangeset for help on using the changeset viewer.