BashScripts.org
http://bashscripts.org/forum/

multithreading in bash
http://bashscripts.org/forum/viewtopic.php?f=16&t=1639
Page 1 of 1

Author:  emekadavid2012 [ Thu Sep 13, 2012 12:51 pm ]
Post subject:  multithreading in bash

how can one run multiple threads in a bash script. is it possible?
thanks

Author:  Watael [ Thu Sep 13, 2012 4:27 pm ]
Post subject:  Re: multithreading in bash

what do you mean?

Author:  jsz [ Thu Sep 13, 2012 6:42 pm ]
Post subject:  Re: multithreading in bash

There are no threads in bash(1) but jobs: processes you put in the background.
You can't do multithreading programming but parallel processing.

Well, it depends on what you're trying to do.

Author:  emekadavid2012 [ Sat Sep 15, 2012 9:36 am ]
Post subject:  Re: multithreading in bash

i want to run a timer program that does not depend on the cpu timer i.e when run, it runs on its own sandbox, assuming that before it finishes execution the user changes the system time.

Page 1 of 1 All times are UTC - 6 hours
© 2000, 2002, 2005, 2007 phpBB Group • http://www.phpbb.com