473,473 Members | 1,894 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Forking processes in .NET

Hi. I was just wondering if you can fork a process in .NET like you would in C
Thank
Jenna
Nov 22 '05 #1
3 2220
JennaS <an*******@discussions.microsoft.com> wrote:
Hi. I was just wondering if you can fork a process in .NET like you would in C.


I don't believe so - but the usual solution to the problem it normally
addresses is to use threads in .NET.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 22 '05 #2
Hi,

As Jon said, and afaik windows doesn't have fork feature - instead you
should use threads.

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

"JennaS" <an*******@discussions.microsoft.com> wrote in message
news:95**********************************@microsof t.com...
Hi. I was just wondering if you can fork a process in .NET like you would in C. Thanks
Jenna

Nov 22 '05 #3
Forgive me for going off on a tangent with this post here, but I'm just
wondering...

I've done a fair bit of Unix programming in my long and checkered past, and
I've used fork() once in a while. I've done multitasking in mainframe and
micro operating systems, even written OS task schedulers, and used threads
in MS programming, particularly in .Net where they're almost trivially easy.
Is there anyone besides me that thinks that the fork business in Unix, both
from the conceptual viewpoint and the implementation viewpoint, is truly
bizarre?

Just asking...inquiring minds want to know.

Tom Dacon
Dacon Software Consulting
"Miha Markic [MVP C#]" <miha at rthand com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi,

As Jon said, and afaik windows doesn't have fork feature - instead you
should use threads.

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

"JennaS" <an*******@discussions.microsoft.com> wrote in message
news:95**********************************@microsof t.com...
Hi. I was just wondering if you can fork a process in .NET like you
would in C.
Thanks
Jenna


Nov 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: SomeGei | last post by:
i have a php script that needs to execute an external php script (call this script 2) when the user clicks a link, however I don't want the user to have to wait until script 2 finishes executing...
4
by: Hopeless A | last post by:
We are attempting to fork a php script into a background php script and have the first scrip continue to completion. Is this even possible in the windows version of php? We have used the many code...
9
by: JennaS | last post by:
Hi. I was just wondering if you can fork a process in .NET like you would in C Thank Jenna
3
by: Rv5 | last post by:
im trying to write a program that has one parent process and three child processes. each child process should have a child process of their own. heres a really slim version of my code: void...
3
by: felixfix | last post by:
Hi all, I am just wondering if something is wrong with my program. What it bascially does is to output a fibonacci sequence base on the command-line output. If I give a 5, it will generate the...
9
by: Andrew Robert | last post by:
Hi everyone, I have a python program that will need to interact with an MQSeries trigger monitor. It does this fine but it hogs the trigger monitor while it executes. I'd like to fork the...
3
by: czajnik | last post by:
Hi! I'm quite new to Python development. Can someone advise me a framework useful for building (pre-)forking or threaded TCP servers, other than SocketServer ? I've seen source code of a few...
10
by: qwertycat | last post by:
I'm new to multi-process programming, should one avoid forking children from children of a parent? I'd like to spawn 10 children from the parent and each of those children spawns another 5...
0
by: SteveBark | last post by:
I have a script that basically runs through an array performing various sub procedures against data. My problem is that I want the data from the array to be fed into forked processes so that I...
3
by: Scottman | last post by:
I am writing a server daemon that forks a child for every incoming request. The child process terminates when the client closes the connection. My problem is that I am unsure how to prevent the...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.