about summary refs log tree commit diff
path: root/src/libextra/comm.rs
AgeCommit message (Collapse)AuthorLines
2014-02-05move concurrent stuff from libextra to libsyncJeremyLetang-165/+0
2014-01-30Remove Times traitBrendan Zabarauskas-2/+2
`Times::times` was always a second-class loop because it did not support the `break` and `continue` operations. Its playful appeal was then lost after `do` was disabled for closures. It's time to let this one go.
2014-01-29Removing do keyword from libextraScott Lawrence-10/+10
2014-01-15Stop returning error strings in From{Base64,Hex}Steven Fackler-2/+2
An enum allows callers to deal with errors in a more reasonable way.
2014-01-15Allow more "error" values in try_recv()Alex Crichton-6/+8
This should allow callers to know whether the channel was empty or disconnected without having to block. Closes #11087
2013-12-25Test fixes and rebase conflictsAlex Crichton-7/+4
* vec::raw::to_ptr is gone * Pausible => Pausable * Removing @ * Calling the main task "<main>" * Removing unused imports * Removing unused mut * Bringing some libextra tests up to date * Allowing compiletest to work at stage0 * Fixing the bootstrap-from-c rmake tests * assert => rtassert in a few cases * printing to stderr instead of stdout in fail!()
2013-12-20extra: silence warnings during testing.Huon Wilson-11/+6
2013-12-16Fallout of rewriting std::commAlex Crichton-77/+42
2013-11-26test: Remove all remaining non-procedure uses of `do`.Patrick Walton-2/+2
2013-11-26librustuv: Remove all non-`proc` uses of `do` from `libextra` andPatrick Walton-2/+2
`librustuv`.
2013-11-24Remove linked failure from the runtimeAlex Crichton-4/+3
The reasons for doing this are: * The model on which linked failure is based is inherently complex * The implementation is also very complex, and there are few remaining who fully understand the implementation * There are existing race conditions in the core context switching function of the scheduler, and possibly others. * It's unclear whether this model of linked failure maps well to a 1:1 threading model Linked failure is often a desired aspect of tasks, but we would like to take a much more conservative approach in re-implementing linked failure if at all. Closes #8674 Closes #8318 Closes #8863
2013-10-24Implement a basic event loop built on LittleLockAlex Crichton-2/+2
It's not guaranteed that there will always be an event loop to run, and this implementation will serve as an incredibly basic one which does not provide any I/O, but allows the scheduler to still run. cc #9128
2013-10-22Drop the '2' suffix from logging macrosAlex Crichton-3/+3
Who doesn't like a massive renaming?
2013-10-09option: rewrite the API to use compositionDaniel Micay-1/+1
2013-09-30extra: Remove usage of fmt!Alex Crichton-3/+3
2013-09-11Rendezvous stream for synchronous channel messagingTim Kuehn-2/+102
2013-08-04Remove old tests and code for `select`Brian Anderson-8/+1
Not compatible with newsched
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-5/+4
2013-06-28librustc: Change "Owned" to "Send" everywherePatrick Walton-7/+7
2013-06-01Remove all uses of `pub impl`. rs=stylePatrick Walton-6/+8
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-0/+1
2013-05-22libextra: Rename the actual metadata names of libcore to libstd and libstd ↵Patrick Walton-0/+2
to libextra
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-0/+110
This only changes the directory names; it does not change the "real" metadata names.