[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: permanent solution for deltification problem (issue #1601)

From: <brane_at_xbc.nu>
Date: 2003-11-17 16:30:22 CET

Quoting "C. Michael Pilato" <cmpilato@collab.net>:

> brane@xbc.nu writes:
>
> > We can't do it in a thread because of httpd issues, but if
> > APR_HAS_FORK, we can fork off a process (and really, on Unix
> > that would probably be the best (simplest?) solution).
>
> So, Brane, here's an(other) are of Win32 where my knowledge is
> severely lacking. I thought there was no fork() for Windows -- am I
> right,

Generally speaking, no -- but for all practical purposes, yes.
Sorry, couldn't resist... :-)

It's possible to write a fork() implementaiton for Win32;
Cygwin, for example, has one. But it's a bit like using
one of those rotary diggers they have for strip mining to
weed your garden.

> and if so, what's the Windows Way(tm) to do this?

There's a function that spawns a program in a new process.
A bit like "fork + exec", bundled in one.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 17 16:31:24 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.