LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Shared memory between Fortran & C++ applications (http://www.linuxquestions.org/questions/linux-software-2/shared-memory-between-fortran-and-c-applications-806542/)

mbrose1994 05-07-2010 03:15 PM

Shared memory between Fortran & C++ applications
 
I have to figure out how to pass data between a Fortran application and a C++ application. The memory has to be locked/unlocked to prevent data corruption. I know very little about Fortran. I have done mutex lock/unlock stuff in Linux apps, multi-threaded, using mutex locks before.

Digging around on the Web, I do not find any info on a Fortran app including linux headers, library calls such as those in ipc.h, shm.h and sem.h.

What is an approach to this problem?

-thanks, Michael

acid_kewpie 05-07-2010 03:24 PM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


All times are GMT -5. The time now is 01:04 PM.