Konstantin Käfer
26a00f6a31
[core] prioritize Thread::pause() calls
2018-02-06 18:49:06 +01:00
Konstantin Käfer
93c4a23636
[core] change RunLoop processing to check queue on every iteration
2018-02-06 18:49:06 +01:00
Konstantin Käfer
78f8fd88b4
[core] factor out RunLoop::wake()
2018-02-06 18:49:06 +01:00
Ivo van Dongen
1ff8b3a799
[core] make RunLoop::schedule public
2017-08-09 12:08:21 +03:00
Thiago Marcos P. Santos
c3900e42d6
[core] Removed unused methods
...
No longer needed after refactoring ::setResourceTransform.
2017-06-26 16:32:21 +03:00
Bruno de Oliveira Abinader
25b2250c32
[tidy] modernize-use-using
2017-05-12 18:07:36 +03:00
Mike Morris
7bbd49c72c
[core] extract weak_ptr mailbox->receive into Mailbox::maybeReceive
2016-10-20 14:39:11 -04:00
John Firebaugh
41bbd4e4f7
[core] Use an actor model for tile worker concurrency
2016-09-16 12:01:06 -07:00
John Firebaugh
030234c7a6
[core] Rework invokeWithCallback so that the callback is last
2016-09-08 16:36:47 -07:00
John Firebaugh
e4995e8d3a
[core] Extract WorkTaskImpl from run_loop.hpp
2016-09-08 16:36:47 -07:00
Thiago Marcos P. Santos
389c7615eb
[core] Revert workaround for std::atomic on ARMv5
...
Got fix on r12.
https://github.com/android-ndk/ndk/issues/31
2016-07-13 17:56:51 +03:00
Thiago Marcos P. Santos
b711979e32
[android] #5254 - fix ARMv5 support
...
Backported patches fixing ARMv5 support for issue #3985 .
2016-06-06 23:31:51 +03:00
Konstantin Käfer
e2bcea90fc
[core] use #pragma once instead of ifdef include guards
2016-05-25 21:35:37 +02:00
Thiago Marcos P. Santos
74a1d3c164
[android] Introduce RunLoop based on Looper
...
Also implement a Timer and AsyncTask based on Android's Looper.
2016-04-06 04:52:51 -03:00
John Firebaugh
169755e89a
[core] Unify FileRequest and WorkRequest
2016-03-24 10:54:32 -07:00
John Firebaugh
d66d145c6e
[core] Remove RunLoop::{ref,unref}
2016-02-16 12:48:50 -08:00
Konstantin Käfer
e2a3c02d1a
[core] destruct WorkTask data before calling the callback
2016-01-28 10:52:33 +01:00
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
Konstantin Käfer
478472e501
[core] add std::move to constructors
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
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
John Firebaugh
1c63f98f6d
[core] Expose fewer RunLoop implementation details in header
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
36581f3d30
[core] Do not pass uv_loop_t around
...
This should be abstracted by util::RunLoop
2015-11-16 12:25:47 -08:00