delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/11/00:59:00

From: mh AT mike DOT franken DOT de (Michael Hirmke)
Subject: Re: Some DLL related and IPC questions.
11 Apr 1998 00:59:00 -0700 :
Message-ID: <6r$00se$pfB.cygnus.gnu-win32@mike.franken.de>
References: <000f01bd637c$19fac000$8155a58e AT hssktn129 DOT sk DOT sympatico DOT ca>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Hi Dylan,

>How do I allow communication or sharing of variables between different
>threads made via fork()?

Either I don't understand, what you want to do or you mixed up "threads"
and "processes" - fork() normally creates a new process, not a new
thread.
For communication between processes you should read a good book on
"interprocess communication", which describes how to use shared memory,
semaphores, ...

[...]
>
>Thanks in advance for any info.

Bye.
Michael.
--
Michael Hirmke           | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX     +49 (911) 557664
90489 Nuernberg          | E-Mail  mailto:mh AT mike DOT franken DOT de
                         | WWW     http://minimike.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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