Wez Furlong
14fbf43485
promise: more properly implement Future::poll
...
The future won't ever complete if you don't connect the waker
from the context!
Prove this out by making the windowops functions async and
verifying them in the async example
2019-11-23 08:16:12 -08:00
Wez Furlong
61fe33fbf6
remove unused rayon dep from the promise crate
2019-10-28 14:31:10 -07:00
Wez Furlong
0579a52f77
promise: clippy
2019-10-07 07:22:34 -07:00
Wez Furlong
6047229bf2
potentially make our promise/future crate await compatible
2019-09-15 19:09:08 -07:00
Wez Furlong
cab062118b
promise: split execute out to BasicExecutor
...
This makes it easier to implement just the scheduling portion
without imposing other restrictions on the executor type.
2019-09-15 19:09:08 -07:00
Wez Furlong
d67d4aab57
avoid marking a tab as dead when we might reconnect it
2019-06-29 16:31:13 -07:00
Wez Furlong
55caafb0c4
more properly fix cond notify on Promise::drop
2019-06-16 21:04:53 -07:00
Wez Furlong
99d6c12532
poll the client tab asynchronously
...
Restructure the poll routine so that we don't block the gui thread
while we wait for the render data to be returned from the server.
2019-06-14 20:30:45 -07:00
Wez Furlong
5ebad9e63a
dyn everywhere
2019-06-08 21:28:11 -07:00
Wez Furlong
038100922a
clippy
2019-05-26 12:49:10 -07:00
Wez Furlong
e1a1530d22
remove boxfnonce: now require rust 1.35+
...
Rust can now naturally deal with with these constructs, so drop the
external crate.
2019-05-26 09:14:20 -07:00
Wez Furlong
1f9d95d57f
tweak executor trait for compat with x11
2019-03-04 23:13:37 +00:00
Wez Furlong
2bfc4fe401
fix warning
2019-03-04 22:44:09 +00:00
Wez Furlong
4b4be6ac21
remove futurecore
2019-03-04 22:32:59 +00:00
Wez Furlong
1d37e44b62
move promise to its own crate
2019-03-04 15:38:56 +00:00