This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Some DLL related and IPC questions.


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@mike.franken.de
                         | WWW     http://minimike.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]