]> git.lizzy.rs Git - rust.git/commit
std::rt: Add start_on_main_thread function
authorBrian Anderson <banderson@mozilla.com>
Wed, 17 Jul 2013 23:48:46 +0000 (16:48 -0700)
committerBrian Anderson <banderson@mozilla.com>
Sun, 28 Jul 2013 00:36:14 +0000 (17:36 -0700)
commit34a27db8bf90d9cc3727a1c6654eccdc7018eb29
tree2555ac543505efd8a06eeb26cc8215f487c88213
parent544ef6cf35c2fbec9e425ef67bc73d1571b54135
std::rt: Add start_on_main_thread function

Applications that need to use the GUI can override start and set up the runtime using
this function.
src/libstd/rt/mod.rs
src/test/run-pass/rt-start-main-thread.rs [new file with mode: 0644]