Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Add a HARD_ASSERT C++ assertion macro (#1304) | Gil | 2018-05-22 |
| | | | | | | * Add HARD_ASSERT * Use HARD_ASSERT * Remove FIREBASE_ASSERT * Remove StringPrintf | ||
* | Firestore C++: in AsyncQueue, use steady_clock instead of system_clock. (#1246) | Konstantin Varlamov | 2018-05-09 |
| | | | | | This should prevent weird bugs due to system time readjustments. Because operations are scheduled relative to now, the fact that the resulting timepoint isn't in Unix epoch shouldn't matter. | ||
* | C++ migration: add AsyncQueue, the C++ version of FSTDispatchQueue (#1176) | Konstantin Varlamov | 2018-05-07 |
AsyncQueue is a queue that executes given operations asynchronously, enforcing that only a single operation is executing at any given time, and that in-progress operations don't spawn more operations. The actual execution is delegated to a platform-specific executor. Executor is an interface for a FIFO queue that executes given operations serially. Two implementations of Executor, one using libdispatch and the other using C++11 standard library, are provided. AsyncQueue is not used anywhere in the code base at this point. |