Niko Matsakis
|
dc07280b08
|
make --enforce-mut-vars always on, add mut annotations to remaining files
|
2012-03-22 09:58:19 -07:00 |
|
Marijn Haverbeke
|
ffd50b9cdf
|
Make the various from_str functions return options
So that they can be used with user input without causing task
failures.
Closes #1335
|
2012-02-22 13:18:15 +01:00 |
|
Brian Anderson
|
4220dcf1e9
|
core: New task API
|
2012-02-20 18:58:04 -08:00 |
|
Niko Matsakis
|
d4410a9f9b
|
rewrite to use old C++-based mechanism
|
2012-01-06 22:40:32 -08:00 |
|
Niko Matsakis
|
a1ef79c9d2
|
update to use new spawn syntax
|
2012-01-06 22:40:32 -08:00 |
|
Graydon Hoare
|
fa9ad984fb
|
Copy first batch of material from libstd to libcore.
|
2011-12-13 16:34:50 -08:00 |
|
Brian Anderson
|
ebc61e39d7
|
Remove temporary fn# syntax
|
2011-10-20 20:34:04 -07:00 |
|
Brian Anderson
|
686d6a485f
|
Drop the 2 from the spawn*2 functions
Issue #1022
|
2011-10-20 18:23:47 -07:00 |
|
Brian Anderson
|
ac671c3172
|
Convert tests to use bare-fn spawn
Issue #1022
|
2011-10-20 18:23:47 -07:00 |
|
Brian Anderson
|
5c49e4f4e9
|
Reformat. Issue #855
|
2011-09-02 22:11:42 -07:00 |
|
Brian Anderson
|
ab6bb035e5
|
Rename std::istr to std::str. Issue #855
|
2011-09-01 17:27:58 -07:00 |
|
Brian Anderson
|
cb55ef6e12
|
Convert benchmarks to istrs. Issue #855
|
2011-08-31 16:24:08 -07:00 |
|
Brian Anderson
|
abdb6cd71b
|
Rewrite reap_dead_tasks to never grab the sched lock before a task lock
Doing so contradicts the locking order used everywhere else and causes
deadlocks.
Un-XFAIL task-perf-spawnalot
Closes #854
|
2011-08-20 16:21:27 -07:00 |
|
Brian Anderson
|
15e456d547
|
Convert task-perf-spawnalot to spawn_joinable. XFAIL
|
2011-08-20 13:02:53 -07:00 |
|
Brian Anderson
|
518dc52f85
|
Reformat
This changes the indexing syntax from .() to [], the vector syntax from ~[] to
[] and the extension syntax from #fmt() to #fmt[]
|
2011-08-20 11:04:00 -07:00 |
|
Eric Holk
|
94260fb91d
|
Using move-mode for spawn thunks to avoid race conditions.
|
2011-08-17 11:44:50 -07:00 |
|
Brian Anderson
|
f05a91a0dc
|
Rename std::ivec to std::vec
|
2011-08-16 10:36:19 -07:00 |
|
Brian Anderson
|
f32079f7c0
|
Convert most main functions to the ivec signature
Converting rustc will still take a snapshot
|
2011-08-16 10:29:08 -07:00 |
|
Eric Holk
|
5c6790519b
|
Reducing the chances for race conditions in join.
|
2011-08-15 12:39:55 -07:00 |
|
Eric Holk
|
aa0a51a7f5
|
Converted over benchmarks.
|
2011-08-15 09:26:52 -07:00 |
|
Brian Anderson
|
544bdf05c5
|
Convert uint::parse_buf to ivecs
|
2011-08-12 12:14:07 -07:00 |
|
Brian Anderson
|
b762ba0890
|
Convert benchmarks to ivecs
|
2011-08-12 12:11:12 -07:00 |
|
Brian Anderson
|
2e7e58812b
|
Remove vec version of str::bytes, rename bytes_ivec to str::bytes
|
2011-08-12 12:08:26 -07:00 |
|
Brian Anderson
|
ec46f07e6e
|
Add a task spawning benchmark
This is the kind of workload that the test runner generates - lots of tiny
little tasks - and currently it leaves the CPU underutilized.
|
2011-07-29 22:45:01 -07:00 |
|