Bruno de Oliveira Abinader
fa36110dfb
[tidy] modernize-use-auto
2017-05-12 18:07:36 +03:00
John Firebaugh
b05e19b389
[node, glfw] Remove libuv 0.10 support
2017-03-10 15:03:18 -08:00
Thiago Marcos P. Santos
931ac77af4
Revert "[core] libuv unref() not really needed"
...
This reverts commit 8a53c1a881 .
2016-02-24 14:31:11 +02:00
Thiago Marcos P. Santos
8a53c1a881
[core] libuv unref() not really needed
...
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.
2016-02-20 13:33:13 +02:00
Thiago Marcos P. Santos
d7fdcc73bf
[core] Get rid of ::unref() for Timer and AsyncTask
...
Not need, legacy from libuv. The RunLoop keep the main
loop running until is explicitly no longer needed.
2016-01-09 01:26:29 +02:00
Konstantin Käfer
0c351eb523
[core] use default instead of empty function body
2015-12-03 15:38:36 +01:00
Konstantin Käfer
d5fb535058
[core] add namespace comment to closing brace
2015-12-03 15:38:36 +01:00
Thiago Marcos P. Santos
ed29223e5a
[core] Remove mbgl/util/uv.hpp
...
Now only a few things depend on libuv and they can use it directly.
2015-12-01 11:49:02 +02:00
John Firebaugh
f2553fff89
[core] Merge uv_detail.hpp into uv.hpp
2015-12-01 11:49:02 +02:00
Thiago Marcos P. Santos
d422c8cac4
[core] Abstract main loop inside RunLoop class
2015-12-01 00:00:09 +02:00
Thiago Marcos P. Santos
123c5df922
[core] Introduce the AsyncTask
2015-12-01 00:00:09 +02:00