Re: task msging

new topic     » goto parent     » topic index » view thread      » older message » newer message

Ok, task msg handler no longer accepts fromid in functions or procedures, it identifies who the task is, and tasks cannot spoof being another task.

To remove msgs to tasks, i wrote

-- This is to remove any vars and queues sent to dead tasks. 
-- "*" will clear all terminated task's vars, unscheduled msgs will remain. 
-- Specifying the task_id will remove those/that's task_id's vars, running or not. 
--  _clean("*") , _clean(1) , _clean({1,5}) 
-- This does not remove msgs sent BY the deceased task, only msgs sent TO the deceased task. 
export procedure task_msg_clean(object who = "*") 

Those interested, refresh:

http://designerthinking.com/temp/taskmsgs.e

useless

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu