delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/11/22:57:30

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-5.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <34147664.post@talk.nabble.com>
References: <34146666 DOT post AT talk DOT nabble DOT com> <CA+sc5mnv_n=_9oE=qgZ5Hy2hz8QkzxLVviqPvkCM3pqObguV5g AT mail DOT gmail DOT com> <34147664 DOT post AT talk DOT nabble DOT com>
Date: Wed, 11 Jul 2012 22:57:00 -0400
Message-ID: <CA+sc5mmS5H-eZNGKRa9XPzH35y16DVYbwv_Y3qrqGXqbQbxqeA@mail.gmail.com>
Subject: Re: running .bat file in cygwin
From: Earnie Boyd <earnie AT users DOT sourceforge DOT net>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Wed, Jul 11, 2012 at 3:33 PM, emon <temursalin AT gmail DOT com> wrote:
>
> "Note, fork requires the cygwin1.dll file.  Are you prepared for that?"
>
> thanks for your response.  What got me notice is the above comment?  Would
> you please elaborate on that?  The only reason I would be going through this
> becuase i am working on parallel processing on my thesis. Currently, in my
> code i have used thread with mingw environment.  But in one part of the code
> requires to use separate image for each function calls (thread function).
> Unfortuanately, it is not working; it is taking the same image and
> performing the calculation.
>
> I have the theorotical konwledge on fork() from the OS classes.  Do i need
> to install any additional module to use fork() in my code?  Any
> documentation you may recomend prior to using cygwin with fork()?  Or you
> think it will be better to install linux in my laptop instead of using
> cygwin?

If you don't want to be encumbered by cygwin1.dll then look at the
MSDN for documentation related to CreateProcess().

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019