about summary refs log tree commit diff
path: root/src/rt
AgeCommit message (Collapse)AuthorLines
2012-02-03rt: Rename rust_scheduler to rust_task_threadBrian Anderson-272/+271
2012-02-03log to stderr instead of stdoutTed Horst-5/+1
includes rustc diagnostics runtest updated to check stderr for errors
2012-02-03Remove experimental GC codeMarijn Haverbeke-191/+7
It's been sitting unused long enough to have bitrotted completely.
2012-02-02rt: Change the win32 event object to an auto-reset eventBrian Anderson-1/+1
The way I read the docs, having this be a manual reset event means that after the first time it's signalled it stays that way until reset, and we never, ever reset it.
2012-02-02rt: Remove lock_and_signal::signal_allBrian Anderson-18/+1
2012-02-02rt: Remove lock_and_signal::timed_waitBrian Anderson-36/+2
2012-02-02rt: Stop waking up the scheduler on a timerBrian Anderson-1/+1
2012-02-02rt: Remove unused arguments in rust_schedulerBrian Anderson-7/+7
2012-02-02rt: Simplify reap_dead_tasksBrian Anderson-28/+4
2012-02-02rt: Remove rust_scheduler::interrupt_flag. UnusedBrian Anderson-6/+0
2012-02-02rt: Only wake up all schedulers when no tasks are leftBrian Anderson-9/+25
At the moment there's not really any reason to be raising this signal, since they schedulers wake up periodically anyway, but once we remove the timer this will be how the schedulers know to exit.
2012-02-02rt: Do all signalling while holding a lockBrian Anderson-9/+5
This will matter once the scheduler is changed to not wake up on a timer
2012-02-02rt: Remove bogus task reaping from the schedulerBrian Anderson-14/+4
2012-02-02rt: Remove rust_task::can_schedule. Does nothingBrian Anderson-20/+5
2012-02-02rt: Remove running_on flag. Does nothingBrian Anderson-9/+1
2012-02-02rt: Remove task pinning. Does nothingBrian Anderson-39/+1
2012-02-02rt: Rename task_sleep intrinsic to task_yield. Remove usec paramBrian Anderson-20/+17
2012-02-02rt: Remove yield timersBrian Anderson-12/+4
2012-02-02rt: Remove bitrotted testsBrian Anderson-303/+0
2012-02-02rt: Generate intrinsicsBrian Anderson-71/+85
2012-02-02rt: Fix intrinsics bustageBrian Anderson-0/+1
intrinsics.cpp and the file to generate the ll had bitrotted.
2012-02-01make boxes self-describing (fixes #1493)" (take 2)Niko Matsakis-313/+286
this will be used to generate a new snapshot.
2012-02-01Revert "make boxes self-describing (fixes #1493)" until a newNiko Matsakis-286/+313
snapshot is prepared.
2012-02-01make boxes self-describing (fixes #1493)Niko Matsakis-313/+286
2012-02-01rt: Don't access fields on null supervisor taskBrian Anderson-2/+2
2012-02-01rt: Fix lock_held_by_current_threadBrian Anderson-8/+12
This simplifies the check for thread ownership by removing the _locked flag and just comparing against the thread ID of the last thread to take the lock. If the running thread took the lock _holding_thread will be equal to pthread_self(); if _holding_thread is some other value then the running thread does not have the lock. Setting a pthread_t to 0 like this is not portable but should work on every platform we are likely to care about for the near future.
2012-02-01rt: Remove unused variable from lock_and_signalBrian Anderson-5/+1
2012-02-01rt: Remove calls to signal the kernel lockBrian Anderson-3/+0
Nobody ever waits for it
2012-02-01rt: Remove rust_timer. UnusedBrian Anderson-118/+0
2012-01-29rt: Remove set_min_stackBrian Anderson-21/+1
2012-01-29rt: Make the initial segment of the main task's stack 1MBBrian Anderson-10/+24
This is a trick to fool microbenchmarks. Closes #1681
2012-01-27rt: Remove unused variableBrian Anderson-2/+2
2012-01-27Implement timers.Donovan Preston-2/+65
2012-01-26Shuffle around to work with rust-spidermonkeyDonovan Preston-37/+59
2012-01-25Merge pull request #1627 from graydon/win32-quotingBrian Anderson-4/+62
Fix win32 command-line quoting on rust_run_program.
2012-01-24freebsd clang supportJyun-Yan You-0/+4
2012-01-23Fix win32 command-line quoting on rust_run_program.Graydon Hoare-4/+62
2012-01-22std: Add some hacks to use libuvBrian Anderson-0/+356
2012-01-20revert accidental commitsNiko Matsakis-2/+2
2012-01-20small fixes for building dist on windowsNiko Matsakis-2/+2
2012-01-17roll back commit 1c7a62Niko Matsakis-10/+0
2012-01-17encode variant names and have log print them out.Niko Matsakis-8/+26
2012-01-17Use a memset upcall to zero things without static alignmentMarijn Haverbeke-0/+10
This fixes issues #843 and #1546. The cost of an upcall is unfortunate, though. I assume there must be a way to simply manually compute the pointer or size, using something akin to the formula in `align_to` in `rust_util.h`. I could not get this to work, unfortunately.
2012-01-16use correct size for logging mod_entry state fieldsJyun-Yan You-27/+27
The compiler outputs 32-bit values for these and on 64-bit FreeBSD the runtime was scribbling on some state used by getenv and segfaulting.
2012-01-13rt: Allow console logging to be turned offBrian Anderson-1/+46
2012-01-12libcore: Add sys::set_exit_statusBrian Anderson-5/+22
Sets the process exit code
2012-01-12add tydescs into shape, rewrite walk_fn_contents()Niko Matsakis-47/+53
2012-01-12free uniq data we encounter on the sweep, walk thru them otherwiseNiko Matsakis-257/+402
2012-01-11update iface cc code to not walk contents (as with other boxes)Niko Matsakis-2/+4
2012-01-11rt: Add RUST_MAX_STACK env var with 8MB defaultBrian Anderson-16/+46
Closes #1489