Parent Directory
|
Revision Log
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Revision: |
Cosmetics
Delete unused variables. JIRA:CXX-13578
Fixed compilation in single-thread mode. JIRA:CXX-13578
Fixed compilation on Unix. JIRA:CXX-13578
Add CUsageReportAPI methods to set/get connection timeouts and number of retries to have a different values than underlying Connect API, if necessary. Extend CUsageReport::Wait() adding timeout and specify what to do if no connection. All new parameters are configurable using CParam. Add new variands of NCBI_REPORT_USAGE_WAIT_* macro to accomodate Wait() chnages. JIRA:CXX-13578
Compliance with Console Do Not Track and honoring DO_NOT_TRACK environment variable to disable reporting (max priority). JIRA:CXX-13534
s_GetOS(): avoid producing unreachable code
More conditionals to avoid unused code warnings
Allow API to call for non-MT build, but made it no-op. Drop Enable/Disable methods, leave SetEnabled() only. JIRA:CXX-10800
Reestablish NCBI_USAGE_REPORT_SUPPORTED guard macro and define it for MT builds only. JIRA:CXX-10800
- Drop unused header. - Renamed CUsageReportBase::EWhat::eEmpty to eNone. - Drop NCBI_USAGE_REPORT_SUPPORTED guard, seems not necesary needed anymore. - CUsageReport::x_ThreadHandler() -- check on enabled status, and cancel all jobs if reporter become disabled. JIRA:CXX-10800
Call async thread handler from current object, not from global instance. JIRA:CXX-10800
Reimplement API to use single reporting thread and queue for jobs awaiting reporting. Remove unused "move" semantics from classes, all parameters and jobs now copied by defaut. Split old Wait() implementation to Wait() and Finish(), so it is possible to wait or discard not sent yet reports. Temporary define NCBI_USAGE_REPORT_SUPPORTED on all platforms to test, new version should works on older GCC compilers now. JIRA:CXX-10800
Drop synchronous reporting, use async only. Rename protecting macro to NCBI_USAGE_REPORT_SUPPORTED. JIRA:CXX-10800
Disable async calls on GCC < 7.0 Not sure about 6.x, but 5.3 and 5.4 have problems with std::thread and doesn't support async handlers with arguments (at least as class method). JIRA:CXX-10800
JIRA:CXX-10800 - drop GetOS() and GetHost() from the API; - move global parameters to USAGE_REPORT section; - add template for CUsageReportParameters::Add(); - some cosmetics and fixed missprints.
Fixed compilation on Linux/GCC. JIRA:CXX-10800
Usage information reporter, initial revision. JIRA:CXX-10800
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
| NCBI Systems Team">NCBI Systems Team | ViewVC Help |
| Powered by ViewVC 1.1.20 |