summaryrefslogtreecommitdiff
path: root/platform/default/timer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [node, glfw] Remove libuv 0.10 supportJohn Firebaugh2017-03-101-7/+1
|
* Revert "[core] libuv unref() not really needed"Thiago Marcos P. Santos2016-02-241-0/+1
| | | | This reverts commit 8a53c1a881c6a5272b647ca267d40fbc435d11d9.
* [core] libuv unref() not really neededThiago Marcos P. Santos2016-02-201-1/+0
| | | | | | | | | | | | The run loop will be kept alive because it has an `AsyncTask`. We also can simple stop the loop with `uv_stop()`. The `RunLoop` is still gonna be the last object to be destroyed because it is the first object to be created in the thread, so by design it won't outlive `Timer`s and `AsyncTask`s. This patch won't change the current behavior, will just make the code simpler.
* Cleanup std::chrono usageBruno de Oliveira Abinader2016-01-251-2/+2
| | | | Use mbgl::Duration and mbgl::{,Milli}Seconds whenever possible.
* [core] Get rid of ::unref() for Timer and AsyncTaskThiago Marcos P. Santos2016-01-091-8/+1
| | | | | Not need, legacy from libuv. The RunLoop keep the main loop running until is explicitly no longer needed.
* [core] use `default` instead of empty function bodyKonstantin Käfer2015-12-031-2/+1
|
* [core] add namespace comment to closing braceKonstantin Käfer2015-12-031-2/+2
|
* [core] Remove mbgl/util/uv.hppThiago Marcos P. Santos2015-12-011-9/+56
| | | | Now only a few things depend on libuv and they can use it directly.
* [core] Merge uv_detail.hpp into uv.hppJohn Firebaugh2015-12-011-1/+1
|
* [core] Introduce Timer abstractionThiago Marcos P. Santos2015-12-011-0/+40