about summary refs log tree commit diff
path: root/src/libcore/rt/uvio.rs
AgeCommit message (Collapse)AuthorLines
2013-05-13core::rt Restructure some modulesBrian Anderson-466/+0
Put all uv code under rt::uv, as if it were in its own crate. Pull local_sched out of rt::sched.
2013-05-13core::rt: Clean up the interface to rtioBrian Anderson-39/+40
Make names that better match rt::io. Return error types.
2013-05-13core::rt: Begin implementing TcpStreamBrian Anderson-8/+16
This ended up touching a lot of code related to error handling.
2013-05-12librustc: Make `self` and `static` into keywordsPatrick Walton-2/+2
2013-05-11Warning policeTim Chevalier-5/+3
2013-05-04Register snapshotsBrian Anderson-16/+0
2013-04-24core: Warning policeBrian Anderson-2/+1
2013-04-23TidyBrian Anderson-1/+1
2013-04-23Merge remote-tracking branch 'brson/io'Brian Anderson-62/+62
This also reverts some changes to TLS that were leaking memory. Conflicts: src/libcore/rt/uv/net.rs src/libcore/task/local_data_priv.rs src/libcore/unstable/lang.rs
2013-04-23core::rt: Tasks to not require an unwinderBrian Anderson-6/+6
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-23core, rustc: Warning policeTim Chevalier-1/+1
2013-04-22core::rt: Fix a use after free in uv 'write'Brian Anderson-1/+4
2013-04-20core: remove unused 'mut' variablesAlex Crichton-1/+1
2013-04-20core: Speed up a test caseBrian Anderson-1/+1
2013-04-20core::rt: Add `next_test_ip4` for generating test addressesBrian Anderson-4/+4
2013-04-20core::rt: Fix a broken uvio testBrian Anderson-3/+20
2013-04-20core::rt: Don't directly create scheduler types in I/O testsBrian Anderson-53/+34
There are some better abstractions for this now
2013-04-20core::rt: Unignore some networking testsBrian Anderson-2/+0
These should work now, I hope
2013-04-20core::rt: Use generated port numbers in testsBrian Anderson-6/+7
2013-04-19core: More tweaks to the thread-local scheduler interfaceBrian Anderson-32/+36
2013-04-19core::rt: Declare large parts of the I/O APIBrian Anderson-0/+1
2013-04-16Merge remote-tracking branch 'brson/sched-cleanup'Brian Anderson-188/+174
Conflicts: src/libcore/rt/sched/mod.rs
2013-04-15core::rt: Narrow down the unsafety of the thread-local schedulerBrian Anderson-24/+18
Only when borrowing the I/O implementation do we need unsafety
2013-04-15core::rt: Restructure context switches to take ownership of the SchedulerBrian Anderson-17/+24
In order to do a context switch you have to give up ownership of the scheduler, effectively passing it to the next execution context. This could help avoid some situations here tasks retain unsafe pointers to schedulers between context switches, across which they may have changed threads. There are still a number of uses of unsafe scheduler pointers.
2013-04-15core::rt: Make Scheduler::unsafe_local return a fabricated region pointerBrian Anderson-193/+178
Instead of taking a closure. It's unsafe either way. Rename it to unsafe_local_borrow.
2013-04-15core::rt: Rename Scheduler::local to Scheduler::unsafe_localBrian Anderson-15/+15
2013-04-14core::rt: Rename block_running_task_and_then to deschedul_...Brian Anderson-5/+5
2013-04-10core: changes in response to #5656Niko Matsakis-0/+16
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-18/+18
2013-03-25Merge remote-tracking branch 'brson/rt'Brian Anderson-11/+5
Conflicts: src/libcore/rt/context.rs src/libcore/rt/sched.rs src/libcore/rt/thread.rs src/libcore/rt/uv.rs
2013-03-22librustc: Remove all uses of `static` from functions. rs=destaticPatrick Walton-3/+3
2013-03-18librustc: Convert all uses of old lifetime notation to new lifetime ↵Patrick Walton-2/+2
notation. rs=delifetiming
2013-03-18core: Rename rt::io to rt::rtioBrian Anderson-3/+1
This is an internal interface. I want to use rt::io for public interfaces.
2013-03-18core: Convert some multiline statements to single-lineBrian Anderson-8/+4
2013-03-11core: Add rt mod and add the new scheduler codeBrian Anderson-0/+475