Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [node, glfw] Don't throw in destructor | John Firebaugh | 2017-03-10 | 1 | -1/+1 |
| | |||||
* | [node, glfw] Remove libuv 0.10 support | John Firebaugh | 2017-03-10 | 1 | -13/+0 |
| | |||||
* | [default] uv_run should use UV_RUN_NOWAIT | Thiago Marcos P. Santos | 2016-07-22 | 1 | -1/+1 |
| | | | | | UV_RUN_ONCE might block and that is not the semantics we expect from RunLoop::runOnce(). | ||||
* | [core] fix pedantic warning messages | Konstantin Käfer | 2016-06-13 | 1 | -2/+2 |
| | |||||
* | [core] Fix RunLoop::run() behavior when called a second time | John Firebaugh | 2016-03-08 | 1 | -0/+1 |
| | |||||
* | Revert "[core] libuv unref() not really needed" | Thiago Marcos P. Santos | 2016-02-24 | 1 | -1/+28 |
| | | | | This reverts commit 8a53c1a881c6a5272b647ca267d40fbc435d11d9. | ||||
* | [core] libuv unref() not really needed | Thiago Marcos P. Santos | 2016-02-20 | 1 | -28/+1 |
| | | | | | | | | | | | | 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. | ||||
* | [core] Remove RunLoop::{ref,unref} | John Firebaugh | 2016-02-16 | 1 | -25/+1 |
| | |||||
* | [core] Add ref counting to the main loop | Thiago Marcos P. Santos | 2016-01-20 | 1 | -1/+25 |
| | | | | | | | | Should not be used at all, added for a corner case on OSX network backend where the request is processed on a worker thread managed by OSX and we need to wait for that reply before destroying the thread that pushed the request. | ||||
* | [core] Get rid of ::unref() for Timer and AsyncTask | Thiago Marcos P. Santos | 2016-01-09 | 1 | -1/+29 |
| | | | | | Not need, legacy from libuv. The RunLoop keep the main loop running until is explicitly no longer needed. | ||||
* | [core] Better C++ usage on RunLoop | Thiago Marcos P. Santos | 2015-12-08 | 1 | -4/+2 |
| | | | | Follow-up of #3179. | ||||
* | [core] add namespace comment to closing brace | Konstantin Käfer | 2015-12-03 | 1 | -3/+3 |
| | |||||
* | [core] Remove mbgl/util/uv.hpp | Thiago Marcos P. Santos | 2015-12-01 | 1 | -1/+3 |
| | | | | Now only a few things depend on libuv and they can use it directly. | ||||
* | [core] Removed libuv dependency from HTTPCurl* | Thiago Marcos P. Santos | 2015-12-01 | 1 | -0/+106 |
| | | | | | Moved the fd watcher to the RunLoop. So far only needs to be implemented by platforms using HTTPCurlRequest et al. | ||||
* | [core] Port uv::tls to pthreads | Thiago Marcos P. Santos | 2015-12-01 | 1 | -2/+8 |
| | |||||
* | [core] Expose fewer RunLoop implementation details in header | John Firebaugh | 2015-12-01 | 1 | -6/+16 |
| | |||||
* | [core] Abstract main loop inside RunLoop class | Thiago Marcos P. Santos | 2015-12-01 | 1 | -0/+83 |