about summary refs log tree commit diff
path: root/src/libextra/future.rs
AgeCommit message (Collapse)AuthorLines
2014-02-05move concurrent stuff from libextra to libsyncJeremyLetang-205/+0
2014-01-29Removing do keyword from libextraScott Lawrence-8/+8
2014-01-07'borrowed pointer' -> 'reference'Brian Anderson-2/+2
2013-12-23extra: Fix all code examplesAlex Crichton-1/+2
2013-12-16Fallout of rewriting std::commAlex Crichton-5/+3
2013-12-10libextra: Another round of de-`Cell`-ing.Patrick Walton-6/+3
34 uses of `Cell` remain.
2013-11-26librustc: Make `||` lambdas not infer to `proc`sPatrick Walton-3/+3
2013-11-24Remove linked failure from the runtimeAlex Crichton-25/+1
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-11-18libextra: Remove `~fn()` from libextra.Patrick Walton-4/+4
2013-10-28Register new snapshotsAlex Crichton-4/+3
2013-10-22Drop the '2' suffix from logging macrosAlex Crichton-4/+4
Who doesn't like a massive renaming?
2013-09-30extra: Remove usage of fmt!Alex Crichton-4/+4
2013-09-26Update the compiler to not use printf/printflnAlex Crichton-1/+1
2013-09-25rustdoc: Change all code-blocks with a scriptAlex Crichton-2/+2
find src -name '*.rs' | xargs sed -i '' 's/~~~.*{\.rust}/```rust/g' find src -name '*.rs' | xargs sed -i '' 's/ ~~~$/ ```/g' find src -name '*.rs' | xargs sed -i '' 's/^~~~$/ ```/g'
2013-09-19Clean up unused importsSteven Fackler-2/+0
2013-09-19Add Future::spawn_withSteven Fackler-0/+23
2013-09-19Modernize extra::future APISteven Fackler-70/+62
2013-09-19Removed future's destructorSteven Fackler-9/+0
It was only there to prevent Future from being copyable, but it's noncopyable anyways since it contains a ~fn.
2013-09-16switch Drop to `&mut self`Daniel Micay-1/+1
2013-08-22Enabled unit tests in std and extra.Vadim Chugunov-1/+0
2013-08-09Remove the C++ runtime. SayonaraBrian Anderson-5/+5
2013-08-07Forbid `priv` where it has no effectAlex Crichton-1/+1
This is everywhere except struct fields and enum variants.
2013-07-24auto merge of #7996 : erickt/rust/cleanup-strs, r=ericktbors-1/+1
This is a cleanup pull request that does: * removes `os::as_c_charp` * moves `str::as_buf` and `str::as_c_str` into `StrSlice` * converts some functions from `StrSlice::as_buf` to `StrSlice::as_c_str` * renames `StrSlice::as_buf` to `StrSlice::as_imm_buf` (and adds `StrSlice::as_mut_buf` to match `vec.rs`. * renames `UniqueStr::as_bytes_with_null_consume` to `UniqueStr::to_bytes` * and other misc cleanups and minor optimizations
2013-07-24Change 'print(fmt!(...))' to printf!/printfln! in src/lib*Birunthan Mohanathas-1/+1
2013-07-23clean up warningsErick Tryzelaar-1/+1
2013-07-19Added a new method to extra::future (unwrap) + a testMatthijs Hofstra-0/+19
2013-07-17librustc: Remove the `Copy` bound from the language.Patrick Walton-1/+0
2013-07-17librustc: Remove all uses of "copy".Patrick Walton-2/+2
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-9/+8
2013-06-28librustc: Change "Owned" to "Send" everywherePatrick Walton-2/+2
2013-06-27auto merge of #7361 : brson/rust/incoming, r=brsonbors-1/+1
2013-06-25Change finalize -> drop.Luqman Aden-1/+1
2013-06-22replaced some 'std::' with 'extra::' in commentsreus-1/+1
2013-06-16Add copies to type params with Copy boundNiko Matsakis-1/+1
2013-06-04std::cell: Modernize constructorsPhilipp Brüschweiler-3/+3
Part of #3853
2013-06-01Remove all uses of `pub impl`. rs=stylePatrick Walton-4/+4
2013-05-30libextra: Require documentation by defaultAlex Crichton-0/+2
2013-05-27syntax highlight code examples in docstringsDaniel Micay-1/+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/+210
This only changes the directory names; it does not change the "real" metadata names.