Math in processes
Doug,
Thanks for you comments, and apologies for the delay in replying (I've
been out of the country for some weeks.)
re: using Commodore's IEEE libraries from a task and a process, you say
that it is technically illegal to pass library bases between
tasks/processes.
In this case, I am stumped. The situation is that I have a large program
which launches a small process. This process allows the user to inspect
various data strucures in the main program. To do this, the process uses
the main program's output routines, which are very complex and which can
use the IEEE libraries. I don't want to duplicate the output routines due
to their size and complexity.
Now, everything works fine with my code except for one of the IEEE library
calls. Is the solution to somehow ensure that only one task/process can
use the output routines at any given time, and to set up the library bases
appropriate for the task/process calling these routines?
You say that it is technically illegal to pass library bases between
tasks/processes. Does this apply to other libraries as well as the IEEE
libraries?
Regards,
Shraddhan (via AP from Hertfordshire, England)