如何创建多个过程 [英] How to Create multiple process

查看:77
本文介绍了如何创建多个过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个窗口服务.在其中我想创建一个方法.
我想将此方法称为线程或进程,但应从循环中调用,并且循环终止值也将是动态的.

I want to create a window service .In which I want to create a method .
I want to call this method as a thread or a process but it should be call from loop and loop terminated value will also be dynamic.

推荐答案

我建​​议您最好使用演讲(由 Sacha Barber [ .NET入门线程指南:n的第1部分 [
I advise you somme excelent lecture (written by Sacha Barber[^]) about threading :

Beginners Guide to Threading in .NET: Part 1 of n[^]


这篇关于如何创建多个过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆