summary refs log tree commit diff
path: root/src/rt
AgeCommit message (Collapse)AuthorLines
2012-03-28Tidy up multiple declarations and STDC_FOO_MACROS guards in headers.Graydon Hoare-72/+33
2012-03-28Fix some gcc-4.4-isms, should build now on 4.1+.Graydon Hoare-2/+10
2012-03-26Disable some advanced (post glibc-2.3) libuv features when building snaps.Graydon Hoare-1/+1
2012-03-23Remove last vestiges of old-style intrinsicsMarijn Haverbeke-796/+0
Closes #2048
2012-03-23Revert removal of intrinsicsMarijn Haverbeke-0/+796
Oops. We can't do this yet until the next snapshot.
2012-03-23Remove support for the old-style intrinsicsMarijn Haverbeke-796/+0
Closes #2042 Closes #1981
2012-03-22rt: Run resource destructors during cycle collectionBrian Anderson-0/+21
2012-03-21rt: Fix valgrind stack hintsBrian Anderson-15/+5
2012-03-21rt: Shave 16 bytes off the __morestack frameBrian Anderson-2/+2
2012-03-21rt: Shave a few instructions off __morestackBrian Anderson-42/+31
2012-03-21rt: Stop using large stacks for the main taskBrian Anderson-19/+7
2012-03-21rt: Use get_task_from_tcb during stack growth callsBrian Anderson-2/+2
2012-03-21rt: Add rust_task::get_task_from_tcbBrian Anderson-6/+35
2012-03-21rt: Add a task field to stk_seg and populate itBrian Anderson-0/+2
2012-03-21rt: Add a get_sp_limit functionBrian Anderson-0/+40
2012-03-21rt: Rename record_sp to record_sp_limitBrian Anderson-18/+18
2012-03-21rt: Reset the stack limit after catching an exceptionBrian Anderson-0/+4
This wasn't causing problems but it looked wrong
2012-03-21rt: Inline a bunch of stack switching codeBrian Anderson-138/+143
2012-03-21rt: Swap the definition of stk_seg::next and prevBrian Anderson-27/+27
2012-03-21rt: Don't switch to the C stack on the upcall_new_stack fast pathBrian Anderson-20/+41
2012-03-21rt: Don't swatch stacks during upcall_del_stackBrian Anderson-51/+42
2012-03-21Every time you don't use a variable, a kitten scowls.Graydon Hoare-0/+1
2012-03-21Quiet unused-result error harder.Graydon Hoare-1/+1
2012-03-21Upgrade valgrind headers to 3.7, silencing build breakage on FreeBSD.Graydon Hoare-1557/+835
2012-03-21Remove incorrect uses of NVALGRIND, Close #1435.Graydon Hoare-2/+0
2012-03-20Some tests for passing and returning structures by value on x64. Close ↵Graydon Hoare-0/+39
#1402. Close #1970.
2012-03-19rt: Remove an unused functionBrian Anderson-11/+0
2012-03-19Send string concatenation to specialized upcall, shave 17s off librustc ↵Graydon Hoare-0/+29
compile time.
2012-03-18rt: Remove rust_task_thread::dead_tasksBrian Anderson-20/+10
2012-03-18rt: Remove rust_task_thread::newborn_tasksBrian Anderson-11/+10
2012-03-18rt: Convert rust_task_list to a typedefBrian Anderson-47/+2
2012-03-18rt: Don't store the name of the task state in rust_task_listBrian Anderson-17/+32
2012-03-18rt: Use an enum to represent the task stateBrian Anderson-32/+58
2012-03-18rt: Remove lock_held_by_current_threadBrian Anderson-47/+0
2012-03-17rt: Remove the recursive lock from rust_task_threadBrian Anderson-7/+1
2012-03-17rt: Ports don't need to ref their tasksBrian Anderson-3/+0
Port lifetime is always bounded by their owning task
2012-03-17rt: Remove some bogus pthread settings from rust_task_threadBrian Anderson-9/+0
This is all handled by rust_thread, and 'true' isn't even a valid value to pass to pthread_attr_setdetachestate
2012-03-16Remove shared tydescsMarijn Haverbeke-86/+0
All tydescs are static now, there's no need to worry about marshalling them between threads anymore.
2012-03-16Remove dynastack support from runtimeMarijn Haverbeke-367/+0
Issue #1982
2012-03-16Get rid of rust_crate_cache in the runtimeMarijn Haverbeke-225/+0
We are no longer generating dynamic tydescs or dicts. Issue #1982
2012-03-15core: Channels are just port idsBrian Anderson-18/+10
2012-03-15rt: Remove the kernel task tableBrian Anderson-54/+7
2012-03-15rt: Remove remaining uses of rust_kernel::get_task_by_idBrian Anderson-29/+16
2012-03-15rt: Look up ports through a single port tableBrian Anderson-70/+68
Instead of a two-level lookup, just use one big table
2012-03-15Zero out dest ptr when port_recv doesn't return a valueMarijn Haverbeke-0/+1
2012-03-13rt: Remove an incorrect assert in lock_and_signalBrian Anderson-1/+0
This assert doesn't hold because it isn't made while holding the lock
2012-03-12rt: Change alignof to rust_alignof. Remove -Wno-c++11-compat. Closes #1644Brian Anderson-12/+12
2012-03-12rt: Remove arbitrary limit on size of port queue. Closes #1245Brian Anderson-2/+0
2012-03-06rt: Change the rust_port refcounting scheme to avoid racesBrian Anderson-21/+26
Hopefully...
2012-03-05rt: Add a hack to fix a port detach bugBrian Anderson-1/+10