On Fri, Aug 3, 2012 at 9:45 PM, Business <[email protected]> wrote: > Can you give us an idea what you will be doing with threads in ksh93v?
Well, my idea is that the shell gets multiple processing strands which work in parallel. This more or less parallels the rise of CPUs which have multiple execution strands per CPU (e.g. Alfara/Sun Niagara T1, Sun UltraSPARC T2/T3/T3 etc., newer Intel x86 machines etc.) The possible usage is (more or less the same as why ISO C, perl or python have thread support) that many scripts which previously used seperate processes can use the more lightwheight threads for the same job while getting the ability to share data (e.g. the global variables ; IMO threads created using "pthread_create" should always run in functions to make sure they have local variables which they can use without requiring any locks). ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [email protected] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) _______________________________________________ ast-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-users
