Sign in to follow this  
Followers 0
Xand3r

multi-processing

2 posts in this topic

here's a bit of what it can do... :

_task_add($func_array) starts a child that runs the functions in the array in order...(you can even add params like $array[$i]="funcname param1 param2")

_task_stop($pid) sends an exit command to a child

_spawn_child($CH_BOOT) spawn a child with a bootstrap this is the part that runs the script again

with this you can even assign values like : do func param1 param2 ... paramn done assign var1 val1 flag(flag is passed to assign())

the example file has a gui created by one child that is modified by other child processes... when commanded by the parent

_task_destroy($pid) is actually processkill()

example.au3

task.au3


Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro

Share this post


Link to post
Share on other sites



I don't know why this got no replies, but it's very good and useful. Thank you very much Xand3r!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0