8 Commits

Author SHA1 Message Date
George Kulakowski
3aa7522c11 Rename ftl to fxl in Fuchsia specific code (#4090) 2017-09-11 15:58:48 -07:00
Ryan Macnak
431a251151 Revert "Avoid spurious descheduling when posting message loop tasks. (#3812)" (#3862)
This reverts commit 2062ca14ec55934ac27b6a1e69031c44daae1e54.
2017-07-11 14:49:13 -07:00
Ryan Macnak
2062ca14ec Avoid spurious descheduling when posting message loop tasks. (#3812)
Closes dart-lang/sdk#29971
2017-07-05 12:39:53 -07:00
Michael Goderbauer
772a0db5e4 Partially port FML to Windows. (#3562)
* Partially port FML to Windows.

* Adds a message loop impl for Windows
* Ports `thread.cc` to Windows

All FML unittests are now passing on Windows.

FML as a whole does not compile on windows yet because `mapping.cc` imports `sys/mman.h`, which is not available on Windows and the replacement API for memory-mapped files is very different on Windows, see https://msdn.microsoft.com/en-us/library/windows/desktop/aa366556%28v=vs.85%29.aspx.

* update licenses

* review comments
2017-04-04 12:48:11 -07:00
Chinmay Garde
8f4457fed9 Fix a race condition in MessageLoopImpl due to difference in calculation of the next wake and the timer rearm. (#3548) 2017-03-31 13:39:23 -07:00
Chinmay Garde
0451dc1106 Cleanup timeline markers. (#3540)
* Name the platform thread in the timeline. This does not affect (nor is it affected by) the pthread name set by the embedder.
* Make it easier in the timeline to see not only when the frame was request, but also when that frame request was fulfilled.
* Trace message loop wakes.
2017-03-29 13:04:25 -07:00
Chinmay Garde
92c357ed15 Allow registering multiple task observers per message loop. (#3509) 2017-03-23 15:29:33 -07:00
Chinmay Garde
26a6615dad Implementations of platform agnostic portions of FML. (#3487) 2017-03-20 13:41:41 -07:00