use option::Option::{self, Some, None};
use result::Result::{Err, Ok};
use sync::{Mutex, Condvar, Arc};
+use str::Str;
use string::String;
use rt::{self, unwind};
use old_io::{Writer, stdio};
unsafe {
stack::record_os_managed_stack_bounds(my_stack_bottom, my_stack_top);
}
+ match their_thread.name() {
+ Some(name) => unsafe { imp::set_name(name.as_slice()); },
+ None => {}
+ }
thread_info::set(
(my_stack_bottom, my_stack_top),
unsafe { imp::guard::current() },