Jump to content

multi-processing


Xand3r
 Share

Recommended Posts

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

Link to comment
Share on other sites

  • 5 months later...

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...