Welcome, Guest. Please login or register.

Author Topic: Interprocess Communication - C/C++  (Read 2324 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline nyteschaydeTopic starter

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show all replies
    • http://www.nyteshade.com
Interprocess Communication - C/C++
« on: February 07, 2017, 10:40:45 PM »
Can someone point me in the best direction to have one application talk to another on the Amiga? Because there is no memory protection, it should be possible to allocate some RAM in one process and have another access that location but there are SO MANY reasons NOT TO DO this.

So, glancing at what I can find with regards to docs, it seems like MsgPorts are the way to go? Does anyone have any working examples?

I would like to, for example, share a linked list of data between one app and another. Or, in the worst case, recreate it from data passed along. How would one go around to doing this?
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500
 

Offline nyteschaydeTopic starter

  • VIP / Donor - Lifetime Member
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 643
    • Show all replies
    • http://www.nyteshade.com
Re: Interprocess Communication - C/C++
« Reply #1 on: February 12, 2017, 05:22:42 AM »
Thomas, thank  you so much for this reply. I read it but I've been dealing with storm related damages to home and nearby roads. I live in a redwood forest in northern California and as such, with the storms of the last few weeks, we have had flooding, road washouts, trees falling (one hit our house) and so on. I haven't had as much time to code. I will be jumping and trying this stuff out shortly. Again I want to thank you for spending the time to type this up. And, as I have more intelligent questions, I will ask them.
Senior MTS Software Engineer with PayPal
Amigas: A1200T 060/603e PPC • A1200T 060 • A4000D 040 • A3000 (x2) • A2000 Vamp/V2 • A1200 (x4) • A1000 (x3) • A600 Vamp/V1 • A500