473,396 Members | 1,785 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 2217
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
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...

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.