Brian Anderson
|
5747fe7a2c
|
rt: For now, only run the box annihilator after task failure
|
2012-03-29 16:43:18 -07:00 |
|
Brian Anderson
|
7f9ed39040
|
rustc: Only invoke when there are cleanups
|
2012-03-29 16:43:18 -07:00 |
|
Brian Anderson
|
3a7a408386
|
rt: Free all outstanding boxes at task death
|
2012-03-29 16:43:18 -07:00 |
|
Graydon Hoare
|
e950313155
|
Remove execvpe use in general, it seems pointless and non-portable.
|
2012-03-28 20:58:43 -07:00 |
|
Graydon Hoare
|
2aaca455b9
|
Tidy up multiple declarations and STDC_FOO_MACROS guards in headers.
|
2012-03-28 14:26:51 -07:00 |
|
Graydon Hoare
|
c141e7a068
|
Fix some gcc-4.4-isms, should build now on 4.1+.
|
2012-03-28 13:52:47 -07:00 |
|
Graydon Hoare
|
bd0399863f
|
Disable some advanced (post glibc-2.3) libuv features when building snaps.
|
2012-03-26 18:03:53 -07:00 |
|
Marijn Haverbeke
|
1b81c5112a
|
Remove last vestiges of old-style intrinsics
Closes #2048
|
2012-03-23 16:08:01 +01:00 |
|
Marijn Haverbeke
|
52d618a99a
|
Revert removal of intrinsics
Oops. We can't do this yet until the next snapshot.
|
2012-03-23 12:51:20 +01:00 |
|
Marijn Haverbeke
|
f5024692d4
|
Remove support for the old-style intrinsics
Closes #2042
Closes #1981
|
2012-03-23 12:21:55 +01:00 |
|
Brian Anderson
|
f7f1490d6e
|
rt: Run resource destructors during cycle collection
|
2012-03-22 19:07:31 -07:00 |
|
Brian Anderson
|
d7be4abdae
|
rt: Fix valgrind stack hints
|
2012-03-21 19:10:32 -07:00 |
|
Brian Anderson
|
9ea3bc614e
|
rt: Shave 16 bytes off the __morestack frame
|
2012-03-21 19:10:32 -07:00 |
|
Brian Anderson
|
9f89cc9d15
|
rt: Shave a few instructions off __morestack
|
2012-03-21 19:10:32 -07:00 |
|
Brian Anderson
|
f5f6135fd0
|
rt: Stop using large stacks for the main task
|
2012-03-21 19:10:32 -07:00 |
|
Brian Anderson
|
0639b67290
|
rt: Use get_task_from_tcb during stack growth calls
|
2012-03-21 19:10:32 -07:00 |
|
Brian Anderson
|
4ad57f5c39
|
rt: Add rust_task::get_task_from_tcb
|
2012-03-21 19:10:32 -07:00 |
|
Brian Anderson
|
08f783ff10
|
rt: Add a task field to stk_seg and populate it
|
2012-03-21 19:10:32 -07:00 |
|
Brian Anderson
|
4a0c6c7f41
|
rt: Add a get_sp_limit function
|
2012-03-21 19:10:31 -07:00 |
|
Brian Anderson
|
1cb35c9b26
|
rt: Rename record_sp to record_sp_limit
|
2012-03-21 19:10:31 -07:00 |
|
Brian Anderson
|
ba322b0a70
|
rt: Reset the stack limit after catching an exception
This wasn't causing problems but it looked wrong
|
2012-03-21 19:10:31 -07:00 |
|
Brian Anderson
|
b78af4f7c4
|
rt: Inline a bunch of stack switching code
|
2012-03-21 19:10:31 -07:00 |
|
Brian Anderson
|
d5968d9f38
|
rt: Swap the definition of stk_seg::next and prev
|
2012-03-21 19:10:31 -07:00 |
|
Brian Anderson
|
6115b13dfc
|
rt: Don't switch to the C stack on the upcall_new_stack fast path
|
2012-03-21 19:10:31 -07:00 |
|
Brian Anderson
|
8a145a601e
|
rt: Don't swatch stacks during upcall_del_stack
|
2012-03-21 19:10:31 -07:00 |
|
Graydon Hoare
|
9ba712fb8b
|
Every time you don't use a variable, a kitten scowls.
|
2012-03-21 19:00:52 -07:00 |
|
Graydon Hoare
|
eba5129978
|
Quiet unused-result error harder.
|
2012-03-21 18:53:27 -07:00 |
|
Graydon Hoare
|
d28175b916
|
Upgrade valgrind headers to 3.7, silencing build breakage on FreeBSD.
|
2012-03-21 18:40:32 -07:00 |
|
Graydon Hoare
|
a9e7bff731
|
Remove incorrect uses of NVALGRIND, Close #1435.
|
2012-03-21 18:21:11 -07:00 |
|
Graydon Hoare
|
855c99ea75
|
Some tests for passing and returning structures by value on x64. Close #1402. Close #1970.
|
2012-03-20 16:44:56 -07:00 |
|
Brian Anderson
|
ccaace6587
|
rt: Remove an unused function
|
2012-03-19 19:02:54 -07:00 |
|
Graydon Hoare
|
869b2d7064
|
Send string concatenation to specialized upcall, shave 17s off librustc compile time.
|
2012-03-19 14:29:39 -07:00 |
|
Brian Anderson
|
7dcac31e4d
|
rt: Remove rust_task_thread::dead_tasks
|
2012-03-18 18:18:18 -07:00 |
|
Brian Anderson
|
6f6650e726
|
rt: Remove rust_task_thread::newborn_tasks
|
2012-03-18 18:18:18 -07:00 |
|
Brian Anderson
|
5d4bf75f56
|
rt: Convert rust_task_list to a typedef
|
2012-03-18 18:18:18 -07:00 |
|
Brian Anderson
|
47c1895724
|
rt: Don't store the name of the task state in rust_task_list
|
2012-03-18 18:18:15 -07:00 |
|
Brian Anderson
|
05466c6138
|
rt: Use an enum to represent the task state
|
2012-03-18 17:41:56 -07:00 |
|
Brian Anderson
|
b247de6458
|
rt: Remove lock_held_by_current_thread
|
2012-03-18 17:03:35 -07:00 |
|
Brian Anderson
|
132266b2cb
|
rt: Remove the recursive lock from rust_task_thread
|
2012-03-17 18:44:41 -07:00 |
|
Brian Anderson
|
35e9970e29
|
rt: Ports don't need to ref their tasks
Port lifetime is always bounded by their owning task
|
2012-03-17 17:56:15 -07:00 |
|
Brian Anderson
|
5728a69e78
|
rt: Remove some bogus pthread settings from rust_task_thread
This is all handled by rust_thread, and 'true' isn't even a valid
value to pass to pthread_attr_setdetachestate
|
2012-03-17 17:18:24 -07:00 |
|
Marijn Haverbeke
|
22bef74b55
|
Remove shared tydescs
All tydescs are static now, there's no need to worry about
marshalling them between threads anymore.
|
2012-03-16 15:38:42 +01:00 |
|
Marijn Haverbeke
|
76d07f4056
|
Remove dynastack support from runtime
Issue #1982
|
2012-03-16 00:44:06 +01:00 |
|
Marijn Haverbeke
|
146b61189a
|
Get rid of rust_crate_cache in the runtime
We are no longer generating dynamic tydescs or dicts.
Issue #1982
|
2012-03-16 00:44:06 +01:00 |
|
Brian Anderson
|
561511e628
|
core: Channels are just port ids
|
2012-03-15 11:10:53 -07:00 |
|
Brian Anderson
|
c414b78afe
|
rt: Remove the kernel task table
|
2012-03-15 11:10:52 -07:00 |
|
Brian Anderson
|
1366d65660
|
rt: Remove remaining uses of rust_kernel::get_task_by_id
|
2012-03-15 11:10:52 -07:00 |
|
Brian Anderson
|
b278d675a2
|
rt: Look up ports through a single port table
Instead of a two-level lookup, just use one big table
|
2012-03-15 11:10:52 -07:00 |
|
Marijn Haverbeke
|
d0f5e58e95
|
Zero out dest ptr when port_recv doesn't return a value
|
2012-03-15 15:08:30 +01:00 |
|
Brian Anderson
|
5c23d21e83
|
rt: Remove an incorrect assert in lock_and_signal
This assert doesn't hold because it isn't made while holding the lock
|
2012-03-13 16:12:38 -07:00 |
|