Forum OpenACS Development: Re: Res: Re: About code executed in a new thread

Hi Luis!

Try this:


ad_proc -public test::test {param} {
.... (note the positional parameter)
}

set command_name "test::test"
set command_args 5 # use a list if you want more parameters

ad_schedule_proc -thread t -once t 0 $command_name $command_args

Collapse
Posted by Luis de la Fuente on
Thank you very much for the tip. It really helped!

Cheers,
Luis