Brian Anderson
f59fcd5d5f
core::rt: Store Task as a ~ pointer
2013-05-20 15:20:50 -07:00
Brian Anderson
b0722c55f8
core:rt:: Rename LocalServices to Task
2013-05-20 15:20:49 -07:00
Brian Anderson
f5987b03b8
core::rt: implement oneshot
and stream
.
2013-05-17 17:54:18 -07:00
Brian Anderson
390dde571e
core::rt: Rename Task to Coroutine
2013-05-15 12:19:16 -07:00
Brian Anderson
c42b03de17
core::rt: Fix scheduling logic for enqueued tasks
2013-05-15 12:19:15 -07:00
Brian Anderson
d234cf7e44
core::rt: Make TCP servers work
2013-05-14 14:52:06 -07:00
Brian Anderson
ab284d44d8
core::rt Restructure some modules
...
Put all uv code under rt::uv, as if it were in its own crate.
Pull local_sched out of rt::sched.
2013-05-13 14:24:10 -07:00
Brian Anderson
0b4d4edf8b
core::rt: Fix a warning about unnecessary mutable variable
2013-05-13 14:24:10 -07:00
Brian Anderson
1962803854
core: Warning police
2013-04-24 13:47:52 -07:00
Brian Anderson
2a819ae465
core::rt: Tasks to not require an unwinder
...
A task without an unwinder will abort the process on failure.
I'm using this in the runtime tests to guarantee that a call to
`assert!` actually triggers some kind of failure (an abort)
instead of silently doing nothing. This is essentially in lieu
of a working linked failure implementation.
2013-04-23 15:11:28 -07:00
Brian Anderson
42c0f88232
core::rt: Add unwinding to newsched tasks
2013-04-22 17:15:31 -07:00
Brian Anderson
bcb3cfb8ce
core::rt: Improve docs for run_in_newsched_task testing function
2013-04-20 15:55:07 -07:00
Brian Anderson
6e17202ff4
core::rt: Add next_test_ip4
for generating test addresses
2013-04-20 14:50:06 -07:00
Brian Anderson
e564fc7f6b
core::rt: Don't directly create scheduler types in I/O tests
...
There are some better abstractions for this now
2013-04-20 01:55:10 -07:00
Brian Anderson
d24a3a4b01
core::rt: Use generated port numbers in tests
2013-04-20 01:16:06 -07:00
Brian Anderson
744ba627f3
core::rt: Add a test mod and put run_in_newsched_task there
2013-04-20 00:33:49 -07:00