delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/05/12:53:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Lotus-FromDomain: COMPUTRITION
From: Fred_Smith AT computrition DOT com
To: cygwin AT cygwin DOT com
Message-ID: <85256C86.00612F9D.00@cinote.computrition.com>
Date: Thu, 5 Dec 2002 12:50:34 -0500
Subject: suitable cygwin subset question
Mime-Version: 1.0

I'm developing a multithread app on cygwin (well, porting from LInux,
actually), which uses Oracle OCI for client services. So far it's running
well on my development box.

Just tried an experiment, in which I took my program and its necessary data
files, and the cygwin DLLs reported by cygcheck (cygwin1.dll, cygz.dll) to
another windows machine, one that has NO cygwin stuff on it at all. Dropped
all those files in a directory (for simplicity, I know it's not the
long-term right way to do it).


My app starts up just fine, it receives its input (via tcp), drops it in
its queue and sits there forever. It's got another thread that pulls things
out of the queue, processes them and sends off to the Oracle database. But
somehow it never seems to actually get anything sent.

When I tell the app to terminate, its behavior makes it plain that it's
down inside the bowels of the OCI code (as compared to being in my
higher-level code that polls the queue), so my guess is it's blocking
somewhere in Oracle for some unknown-to-me reason.

So this all is a prelude to the question: What's the minimum subset of
stuff I need to move, and is it necessary to actually run a cygwin
installer (for registry setups, maybe???) or will simply putting files in
the "right place" work?

Bash, strace, and ps all seem to work on this configuration, if it means
anything.

My apologies about the somewhat vague question, I don't know how to be more
specific without posting a billion lines of crap. Anybody needs some
specific info I'll be glad to provide it.

Fred



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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