Thanks Niko!

Atri

On Sat, Sep 15, 2012 at 12:27 PM, Niko Matsakis <[email protected]> wrote:

> The function task::get_task() will do what you want.
>
>   Atri Sharma <[email protected]>
>  September 14, 2012 11:56 PM
> Hi all,
>
> I want to get the name of the task that called a Rust function in my
> Rust code.How do I do that in Rust(I think,in C++,we will do it by
> rust_task *task = rust_get_current_task();)
>
> Atri
>
>


-- 
Regards,

Atri
*l'apprenant*

<<compose-unknown-contact.jpg>>

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to