MOO-cows Mailing List Archive
[Prev][Next][Index][Thread]
Avoiding kill_task(task_id())...
I have loops, like the following:
for i in (this.users)
i:tell(user.name, " has connected.");
endfor
for i in ($core_objects())
i:server_started();
endfor
and I wish for the verbs to be executed on all of those objects
no matter what. I can use `i:server_started() ! ANY => 0' to keep
it from breaking if there's an error, but I run into a problem if
someone is malicious and decides to use 'kill_task(task_id())'.
Does anyone know of a way around this? There is one way I've found,
but it's quite inefficient:
for i in ($core_objects())
fork (0)
i:server_started();
endfork
endfor
I'm looking for a better way! Can anyone help me, please??
Thanks...
--Nate
(see my in progress MOO WWW pages at http://www.lfa.lfc.edu/~nmassey/moo)
Home |
Subject Index |
Thread Index