summary refs log tree commit diff
path: root/src/rt/rustrt.def.in
AgeCommit message (Collapse)AuthorLines
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
2012-05-18add a new debugging aid--tracingNiko Matsakis-0/+1
2012-05-15core: Add task::unkillableBrian Anderson-0/+2
2012-05-03core: Add comm::recv_chan to receive from a channelBrian Anderson-0/+3
2012-04-30core: Serialize all access to the environment using a weak global taskBrian Anderson-1/+2
2012-04-27rt: remove unneccesary c++ functions and rust_kernel data, re: global loopJeff Olson-2/+0
2012-04-27std: add ll::loop_refcount binding for uv_loop_refcountJeff Olson-0/+1
2012-04-20std: get_monitor_task_gl() is global_loop::get() defaultJeff Olson-0/+1
2012-04-20adding missing binding to rustrt.def.inJeff Olson-0/+1
2012-04-20replace impl of globa_async_handle with one using atomic compare-and-swapJeff Olson-1/+0
2012-04-20remove rustrt.def.in entry for no-longer-existent c++ functionJeff Olson-1/+0
2012-04-20bindings to get/set data field on uv_loop_t* and debug log cleanupJeff Olson-0/+2
2012-04-20add needed fields for global libuv loop + bindings to manage from rustJeff Olson-0/+4
adding two pointers fields to rust_kernel :( .. have to do manual malloc/free for one of the fields, which feels wrong
2012-04-20adding low-level uv_timer_* stuff to libuv bindingsJeff Olson-0/+2
2012-04-16Get explicit unique estrs working.Graydon Hoare-0/+2
2012-04-07core: Add priv::weaken_taskBrian Anderson-0/+2
2012-04-06core: Add priv::chan_from_global_ptrBrian Anderson-0/+1
This allows singleton, globally accessible tasks to be created
2012-04-06removed this binding a few commits back. missed it in rustrt.def.inJeff Olson-1/+0
2012-04-06add libuv error msg helpers.. flushing out windows tcp issue.Jeff Olson-0/+2
2012-04-06add low-level uv_async bindings for use in tcp testJeff Olson-0/+2
2012-04-06hello world test for a tcp server in libuvJeff Olson-2/+6
.. im now going to refactor the tcp request and server tests to utilize each other, so no more external network ugliness
2012-04-06adding missing rust_uv_* entries in rustrt.def.inJeff Olson-0/+27
2012-04-03std: add localtime/gmtime support.Erick Tryzelaar-0/+4
2012-04-03Merge remote-tracking branch 'brson/mainthread'Brian Anderson-0/+1
Conflicts: src/rt/rust_kernel.cpp src/rt/rust_scheduler.cpp src/rt/rust_scheduler.h
2012-04-03core: Add a scheduler mode, osmain, to spawn onto the main schedulerBrian Anderson-0/+1
2012-04-02Construct new strings through upcalls.Graydon Hoare-0/+1
2012-03-20Some tests for passing and returning structures by value on x64. Close ↵Graydon Hoare-0/+2
#1402. Close #1970.