Thiago Marcos P. Santos
55c31493af
[core] Add ref counting to the main loop
...
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.
2016-01-20 19:54:20 +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
Thiago Marcos P. Santos
0a97145d05
[core] Better C++ usage on RunLoop
...
Follow-up of #3179 .
2015-12-08 10:23:11 -08: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
Thiago Marcos P. Santos
07c0424ab9
[core] Removed libuv dependency from HTTPCurl*
...
Moved the fd watcher to the RunLoop. So far only needs to
be implemented by platforms using HTTPCurlRequest et al.
2015-12-01 11:49:02 +02:00
Thiago Marcos P. Santos
62990f0a21
[core] Port uv::tls to pthreads
2015-12-01 11:49:02 +02:00
John Firebaugh
1c63f98f6d
[core] Expose fewer RunLoop implementation details in header
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