C (8/178)

From:Charlie
Date:10 Jul 2000 at 03:37:30
Subject:Re: Background task name.

----- Original Message -----
From: Colin Wenzel <colstv@hotkey.net.au>
To: <amiga-c@egroups.com>
Sent: Saturday, July 08, 2000 6:31 AM
Subject: ga-c] Re: Background task

> On 08-Jul-00, Andrew Markwell wrote:
> >> From: Sensei <sensei@box43.gnet.pl>
>
> >> But we can be sure that our task won't remove himself while it's
> >> "finding" (FindTask(NULL) is OS friendly equivalent of
> >> ExecBase->ThisTask or MOVE.L 4.w,A6; MOVE.L ThisTask(A6),A1) his own
> >> address ;). It's logical that note about removing task depents on
> >> task which we can search by full name .
>
>
> > It's probably a bad idea to change anything in the task structure of
> > a task that isn't yours. What if something else searches for that
> > task by name? There is no legal way to change the name of a task,
> > your best bet would be to use CreateTask(), but then you couldn't
> > execute an external program.
> > Andrew Markwell
>
> That is very true, however, this particular thread is on how to
> give your task a name so it can be found by other tasks
> with FindTask().
>
I think

System("Execute >NIL: Subtask");

might work

------------------------------------------------------------------------
Free yourself!
Get 1 month of FREE* Internet access from MSN!
http://click.egroups.com/1/6322/1/_/451227/_/963167584/
------------------------------------------------------------------------