in reply to Converting a parallel-serial shell script
Create a private semaphore
Fork to create N processes
In every process
- convert its part
- lock the semaphore
- do the db import
- raise the semaphore
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Converting a parallel-serial shell script
by Corion (Patriarch) on Sep 18, 2008 at 11:51 UTC | |
by SuicideJunkie (Vicar) on Sep 18, 2008 at 20:34 UTC |