Java threaded example of the Sieve of Eratosthenes.