第一次多线程记录···
2015-03-18 17:26
169 查看
public class testThred { public static void _goThred(参数0 p0,参数1 p1) { try { //do sth... } catch (Exception e) { } } } public class test { static public test(int i,string s) { Thread worker = new Thread(() => testThred._goThred(参数0 p0,参数1 p1)); worker.Start(); } }
刚开始把testTered写到test类下、不知道为毛不行····
还需努力啊···
相关文章推荐
- 第一次博文、····第一次网页
- 全球10位著名CEO成功之道----托马斯·米德尔霍夫
- 用户·角色·权限·表
- csdn第二次实训···之···第二课
- instanceof 非常有用的东东哦···
- 鹧鸪天·桂花
- 跑出创新高速度(加快经济发展方式转变·访谈录)
- 奥克塔维奥·帕斯《诗人的墓志铭》
- 聪明来自学习和生活--西奥多·鲍威尔
- "很傻很天真"的"凯文·凯利"
- 理想·环境·开源
- 奥巴马胜选演说·文言版(zz)
- hihoCoder_#1062_最近公共祖先·一
- for paper·
- hiho一下 第五十七周 高斯消元·二(高斯消元解异或方程组)
- 双向循环链表(创建·插入·删除·遍历)
- [Vijos 1137] 组合数 · 数学
- 读易[22]·说一说创业的精神
- 读易[16]·领导要以德服人(坤卦)
- 对日本——抗击·发展·情绪·理智