Welcome, Guest. Please login or register.

Author Topic: Messages between Tasks, Exec question  (Read 10964 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline jahcTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 521
    • Show all replies
    • http://wookiechat.amigarevolution.com
Messages between Tasks, Exec question
« on: November 05, 2002, 12:32:49 AM »
Hi, I'm about to make my first C++ AmigaOS program, and I need a bit of advice..

It's going to be an internet program, and I think I'm going to have a separate internet handling task, that will communicate with the rest of my program.. So that my program doesnt freeze up while waiting for (for example) connecting to a server..

Now, when I connect to the server, I'm going to receive a few thousand lines from them.. my question is, will my program bog down the computer and OS if I have a thousand messages going back and forth between my tasks? I've got a 128kbit connection, so thats about.. err.. (thinks).. about 10-20 lines of information every second? Something like that..

If that does present a problem, then I may only send the last 10 lines of info from the server in one message at a time..

Anyway what do you guys think? Ideally, I'd like my program to function well on an 020 or 030, but I am thinking of making it OS 4.0 only..

 

Offline jahcTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 521
    • Show all replies
    • http://wookiechat.amigarevolution.com
Re: Messages between Tasks, Exec question
« Reply #1 on: November 05, 2002, 10:41:37 AM »
Thanks for your replies guys!

I think I have a better idea of how to write my program now anyway, after thinking about it for awhile. :) Programming is fun.