summary refs log tree commit diff
path: root/src/libstd/timer.rs
AgeCommit message (Collapse)AuthorLines
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-49/+48
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-04Remove empty argument lists from do expressionsBen Striegel-9/+9
2012-07-03core: Convert iter::repeat to the for protocolBrian Anderson-6/+6
2012-07-03Change crust -> extern.Graydon Hoare-2/+2
2012-07-01Convert to new closure syntaxBrian Anderson-13/+13
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-10/+10
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-2/+2
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-1/+1
2012-06-14Remove unneeded spawn in std::timer, and annotate a FIXMETim Chevalier-4/+1
2012-05-25std: Rename uv::hl to uv::iotask. Additional cleanupBrian Anderson-8/+10
2012-05-24std: Remove unused variablesBrian Anderson-1/+1
2012-05-24std: FIXME's and cleanups for uvBrian Anderson-0/+2
2012-05-22std: Update timer for new kind rulesBrian Anderson-4/+5
2012-05-22std: high-level libuv-leverage APIs now take a hl_loop as arg (tcp/timer)Jeff Olson-15/+22
2012-05-22std: ignoring timer test that seems to be race-failing b/c valgrindJeff Olson-0/+1
.. this test fails frequently, locally, when ran with the batch of other global_loop tests running due to how valgrind deals with multithreading in the test app. not sure what to do, here.
2012-05-22Send is no longer a subkind of copy. This allows for sendable, but ↵Eric Holk-2/+4
non-copyable resources. Closes #2420.
2012-05-21std: Make timer tests more reliable under valgrindBrian Anderson-25/+43
2012-05-02std: Do less work in the timer stress testsBrian Anderson-4/+4
2012-04-28std: Add 2 timer stress testsBrian Anderson-0/+41
2012-04-27std: another stab at a race-free global loop implementationJeff Olson-10/+4
seems to hold up pretty well. uv::hl API is affected.. had to do work on tests and std::timer code that leverages the global loop/high_level_loop API. see test_stress_gl_uv_global_loop_high_level_global_timer for a stress example.. it takes a while to run, but it exits cleanly (something I could never accomplish with earlier iterations of the global loop)
2012-04-20std: ignore tests that use high_level_loopJeff Olson-0/+3
until race issue with (most likely) refcount scheme is sorted out
2012-04-20std: add timer::recv_timeout() and whitespace cleanupJeff Olson-5/+75
2012-04-20std: add std::timer and timer::delayed_send and timer::sleepJeff Olson-0/+113
.. leveraging std::uv, we have: timer::delayed_send - send a value over a provided channel after the timeout has passed timer::sleep - block the current task for the specified period both of these fns (and everything that goes in timer.rs) leverage the uv_timer_* API