aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust_task.h
Commit message (Collapse)AuthorAgeFilesLines
* Split start into rustc and rustboot versions. This introduces a bit ofRafael Ávila de Espíndola2011-05-031-0/+8
| | | | | | | | | | | duplication, but we will hopefully drop the rustboot one soon. This is also a preparation for changing the rustc one to have the activate glue return to the exit glue which will then call the main function. This (returning to the function that calls main) matches what happens when loader stats a program or a new thread. It lets gdb produce good backtraces and should help with EH too.
* Overhaul logging system in runtimeMarijn Haverbeke2011-04-191-2/+0
| | | | | | | | | | | | | | See https://github.com/graydon/rust/wiki/Logging-vision The runtime logging categories are now treated in the same way as modules in compiled code. Each domain now has a log_lvl that can be used to restrict the logging from that domain (will be used to allow logging to be restricted to a single domain). Features dropped (can be brought back to life if there is interest): - Logger indentation - Multiple categories per log statement - I possibly broke some of the color code -- it confuses me
* Add ABI tagging to crates, adjust rustc output and runtime stack-frame setup ↵Graydon Hoare2011-02-221-0/+1
| | | | so access to argv works.
* Try to print backtraces on failurePatrick Walton2010-10-111-0/+3
|
* Cleanup, refactoring, and some runtime tests.Michael Bebenita2010-09-101-5/+4
|
* Cache task handles.Michael Bebenita2010-09-081-0/+2
|
* Lots of design changes around proxies and message passing. Made it so that ↵Michael Bebenita2010-09-071-0/+3
| | | | domains can only talk to other domains via handles, and with the help of the rust_kernel.
* Added labels to blocking conditions.Michael Bebenita2010-08-171-1/+2
|
* Added support for task sleeping in the scheduler.Michael Bebenita2010-08-111-0/+6
|
* Add names to tasks and domains. These can either be an explicit literal stringJeffrey Yasskin2010-08-091-1/+4
| | | | | after the "spawn" keyword, or implicitly the call expression used to start the spawn.
* Move ports out into their own file, add data_message and make communication ↵Michael Bebenita2010-07-281-4/+0
| | | | system use it (and proxies) instead of existing token scheme.
* Move notification-messages out into their own file and unify into ↵Michael Bebenita2010-07-281-0/+8
| | | | notify_message, make them use proxies, cache task proxies in dom.
* Rename rust_proxy_delegate to maybe_proxy, flesh out logic in it. Add ↵Michael Bebenita2010-07-281-3/+2
| | | | strong-ref distinction on rust_proxy.
* Add modeline / file-local emacs var blocks.Michael Bebenita2010-07-281-0/+10
|
* Fix typos in comments, delete obsolete comments and dead commented code.Michael Bebenita2010-07-281-1/+1
|
* Added a message passing system based on lock free queues for inter-thread ↵Michael Bebenita2010-07-191-0/+107
communication. Channels now buffer on the sending side, and no longer require blocking when sending. Lots of other refactoring and bug fixes.