about summary refs log tree commit diff
path: root/src/rt/rustrt.def.in
AgeCommit message (Collapse)AuthorLines
2012-09-24rt: Add a logging function for strings (only).Patrick Walton-0/+1
This will be the shape-free replacement for upcall_log_type.
2012-09-19V2: now with more locks!Philipp Brüschweiler-1/+1
2012-09-19core: Allocate threads on demand, not on scheduler startupPhilipp Brüschweiler-1/+2
API change: rust_kernel::create_scheduler() or rust_scheduler::rust_scheduler() respecitevly now take ownership of the launch factory argument, it is needed to create new threads on demand. Also renames rustrt::sched_threads() to rustrt::rust_sched_threads() for consistency. Added rustrt::rust_max_sched_threads() to return the maximal number of scheduled threads of the current scheduler. Fixes #3493.
2012-09-13rt: Implement ThreadPerCore scheduling modePhilipp Brüschweiler-0/+1
Fixes #3465.
2012-09-07rt: Add rust_gc_metadata to rustrt.def.in.Elliott Slaughter-0/+1
2012-09-07gc: Fix for GC missing stack frames across segment boundaries.Elliott Slaughter-0/+1
2012-08-31Add rust_annihilate_box to rustrt.def.inBrian Anderson-0/+1
2012-08-30libcore: rewrite str::reserve in pure rust.Erick Tryzelaar-1/+0
2012-08-30libcore: Rewrite str::unsafe::push_byte in pure rust.Erick Tryzelaar-1/+0
2012-08-30libcore: rewrite vec::unsafe::from_buf in pure rustErick Tryzelaar-1/+0
2012-08-28Compress metadata section. Seems a minor speed win, major space win.Graydon Hoare-0/+2
2012-08-21Make std::arena run destructors. Closes #2831.Michael Sullivan-0/+1
2012-08-16Fix issue-506.rs by adding a void-returning stub in the runtime (close #2957)Ben Blum-0/+1
2012-08-07Remove rust_cond_lock and sys::condition (rename to little_lock)Ben Blum-6/+4
2012-08-03rt: expose rust_task refcounts to rustlandBen Blum-0/+2
2012-07-25(minor) remove config_notify from rustrt.def.inBen Blum-1/+0
2012-07-24Remove unsuperviseBen Blum-1/+0
2012-07-24Add 'do atomically { .. }' for exclusivesBen Blum-0/+2
2012-07-23Add rustrt wrapper functions to export list.Elliott Slaughter-0/+5
2012-07-17Create some infrastructure for building up @-vectors. Work on #2921.Michael Sullivan-0/+1
2012-07-13Reintroduce linked failure (killing runtime)Ben Blum-0/+1
This reverts commit 5724c6454950617c292daba89cdb9a3b4c862430.
2012-07-12Revert linked failure (killing runtime)Ben Blum-1/+0
This reverts commit 200a2ded3245eb0a1ca7b265ce83adba16d75b97.
2012-07-12Fix linked failure with root taskgroup to kill the runtime too.Ben Blum-0/+1
2012-07-12Merge branch 'rt-changes' into incomingMichael Sullivan-3/+0
2012-07-11Add rust_task_kill_otherBen Blum-0/+1
2012-07-10Eliminate some obsolete upcalls.Michael Sullivan-3/+0
2012-07-06Pipes sleep and wake properly.Eric Holk-0/+3
2012-06-29std: addressing #2656 (ipv6 support in net::tcp)Jeff Olson-0/+2
.. there are some additional FIXME nags in net_tcp (L 1012) about blocking because libuv is holding unsafe ptrs to task local data. the proposed fix going is not really feasible w/ the current design, IMO, but i'll leave it there in case someone really wants to make the case without creating more hassle than it's worth.
2012-06-29rt: get rid of unused helpers for AF_INET and add bool-based ones, insteadJeff Olson-2/+1
2012-06-29rt: adding uv_freeaddrinfo binding and tweek signature for uv_getaddrinfoJeff Olson-0/+1
2012-06-29fix typo in rustrt.def.inJeff Olson-1/+1
2012-06-29rt: more helper functions to get uv_getaddrinfo goingJeff Olson-0/+4
2012-06-29rt: more sizeof helpers + misc consts for uv_getaddrinfoJeff Olson-0/+7
2012-06-29rt: add remaining ip string parser/formatter helpers from uvJeff Olson-0/+4
2012-06-28Fix sys::refcount and remove dbg::refcountBen Blum-1/+0
2012-06-28rt: Add task_local_data and related builtin calls (Closes #2680)Ben Blum-0/+3
2012-06-25rt: Fix exportsBrian Anderson-2/+2
2012-06-25rt: Remove upcall_malloc/upcall_exchange_malloc. Issue #2681Brian Anderson-2/+0
2012-06-19Adding a lock/condition variable to libcore.Eric Holk-0/+6
2012-06-16Revert "Adding a lock/condition variable to libcore."Tim Chevalier-6/+0
This reverts commit e394ebda37bf6bbe4c516e2b9381aac8bd964dcc.
2012-06-15Adding a lock/condition variable to libcore.Eric Holk-0/+6
2012-06-13Add upcall_malloc_dyn to rustrt.def.in.Michael Sullivan-0/+1
2012-06-06std: Add debug::breakpointBrian Anderson-0/+1
2012-05-30rt: Remove upcall_shared_malloc/free/reallocBrian Anderson-4/+0
2012-05-30rt: Add yet another allocating upcallBrian Anderson-0/+1
upcall_exchange_malloc_dyn, for allocating unique boxes for types that don't have a fixed size.
2012-05-30rt: Add upcall_exchange_malloc/freeBrian Anderson-1/+3
2012-05-23A shareable atomically reference counted pointer wrapper.Eric Holk-0/+2
Needs more tests to ensure safety, and probably some more work on usability too.
2012-05-22rt: adding rust_uv_* binding for kernel malloc and free'ing :/Jeff Olson-0/+2
I need these in the context of doing various malloc/free operations for libuv structs that need to live in the heap, because of API workflow (there's no stack to put them in). This has cropped up several times when impl'ing the high-level API for things like timers, but I've decided to take the plunge and use this approach for the net::tcp module. Technically, this can be avoided by spawning a new task that contains the needed memory structures on its stack and then having it block for the duration of the time we need that memory to be valid (this is what I did in std::timer). Exposing this API provides a much lower overhead way to address the issue, albeit with safety concerns. The main mitigation policy should be to use malloc/free with libuv handles only when the handles, are then associated with a resource or class-with-dtor. So we have a finite lifetime for the object and can gaurantee a free(), barring a runtime crash (in which case you have bigger problems!)
2012-05-21add a seeded random number generator so that sequences of random numbers can ↵Gareth Daniel Smith-0/+2
be easily reproduced (for https://github.com/mozilla/rust/issues/2379)
2012-05-19expose tzsetErick Tryzelaar-0/+1