{"version":"1.0","width":"100%","title":"Rust multithread \u78ba\u8a8d","height":"190","author_url":"https://blog.hatena.ne.jp/katakanan/","provider_name":"Hatena Blog","categories":["\u30d7\u30ed\u30b0\u30e9\u30e0","Rust"],"blog_url":"https://e-tipsmemo.hatenablog.com/","type":"rich","description":"e-tipsmemo.hatenablog.com \u3053\u306e\u3088\u3046\u306a\u8a18\u4e8b\u3092\u66f8\u3044\u305f\u304c\u3001\u305d\u3082\u305d\u3082thread\u3092\u305f\u304f\u3055\u3093join\u3057\u305f\u5f8c\u306b\u3001 \u305d\u306e\u5f8c\u306e\u51e6\u7406\u306f\u305d\u308c\u3089\u30b9\u30ec\u30c3\u30c9\u306e\u7d42\u4e86\u3092\u5f85\u3063\u3066\u3044\u308b\u306e\u3060\u308d\u3046\u304b\u3002\u3068\u601d\u3063\u305f\u306e\u3067\u78ba\u8a8d\u3057\u3066\u307f\u305f\u3002 #[cfg(test)] mod tests { use super::*; fn hoge(thread: u32, num: u32) -> u32 { for x in 0..num { println!(\"th:{}, count:{}\", thread, x); thread::sleep(std::time::Duration::from_millis(1000)); }\u2026","author_name":"katakanan","url":"https://e-tipsmemo.hatenablog.com/entry/2018/01/06/000000","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fe-tipsmemo.hatenablog.com%2Fentry%2F2018%2F01%2F06%2F000000\" title=\"Rust multithread \u78ba\u8a8d - e-tipsmemo\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":"https://images-fe.ssl-images-amazon.com/images/I/51VJ1oA9g%2BL._SL160_.jpg","published":"2018-01-06 00:00:00","provider_url":"https://hatena.blog","blog_title":"e-tipsmemo"}