delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/28/02:43:56

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
From: "gilles bourgeois" <gbourgeois AT yaccom DOT com>
To: <cygwin AT cygwin DOT com>
Subject: IPC message queue through JNI may not work because of java exec !
Date: Fri, 28 Feb 2003 08:42:45 +0100
Message-ID: <BHEPLBGHPJKIDJGHBFLIMEABCAAA.gbourgeois@yaccom.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-MDRemoteIP: 192.168.1.90
X-Return-Path: gbourgeois AT yaccom DOT com
X-MDaemon-Deliver-To: cygwin AT cygwin DOT com

Hi folks,
I have a java graphical debugging tool which communicates with
a  process  (written in C)

both shall communicate through IPC message queue (historic : the tools where
running under solaris)

The point is :
From java side, ipc message queue is created with the help of a native dll
beeing accessed through JNI
from c side, the running process bind to the IPC queue and read data, this
is OK if the process is ***launched from a cygwin shell***
(with or without gbd)

BUT : if the running process is launched from java (within a
System.exec(PROCESS)), the C-process CANNOT bind to the IPC queue!!
I think my process does not share the same environment or what ?

if someone got an idea about this ?, I may use another solution before going
through a socket solution...

thanks
gilles




--
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