Jim Conner wrote: > I suck at this kind of topic but the only way I can think of doing such > a thing is this: > > Use IPC. > > fork off something like 10 children each child working on a separate > file and use sysvmsg sysvshem (I do not believe these are functions and > I can't look the right functions up for you right now but perldoc > perlipc might be of some use) to pass messages back and forth between > the children and the parent to follow what each process is doing.
'fork' spawns a child process of the parent, doesn't it? > > Anyone else? Im shooting in the dark really. > > - Jim > > > At 19:04 03.25.2002 -0800, Ahmed Moustafa wrote: > >> Matthew Harrison wrote: >> >>> What exactly do you mean by 'thread'? >> >> >> I've a loop which scans directories looking for files and processes >> the existing files. I'd like process each file independently (i.e. in >> parallel) rather than sequentially. >> >>> On Mon, 25 Mar 2002, Ahmed Moustafa wrote: >>> >>>> How can I thread a function in Perl? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]