~ubuntu-branches/ubuntu/jaunty/mapserver/jaunty-updates

« back to all changes in this revision

Viewing changes to mapscript/java/tests/threadtest/MapTest.java

  • Committer: Bazaar Package Importer
  • Author(s): Fabio Tranchitella
  • Date: 2006-11-02 11:44:17 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20061102114417-pnutjb20kqzl23ua
Tags: 4.10.0-3
debian/control: build-depends on libpq-dev. (Closes: #396565)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// $Id: MapTest.java,v 1.1 2005/06/09 19:21:18 dan Exp $
 
1
// $Id: MapTest.java,v 1.2 2006/06/28 13:46:22 umberto Exp $
2
2
//
3
3
// See README_THREADTEST.TXT for usage details.
4
4
//
26
26
 
27
27
        Thread[]    tpool = new Thread[threads.intValue()];
28
28
        for( int i = 0; i < tpool.length; i++ ) {
29
 
            tpool[i] = new MapThread(mapfile, iterations.intValue());
 
29
            tpool[i] = new MapThread(mapfile, iterations.intValue(), i);
30
30
        }
31
31
        for( int i = 0; i < tpool.length; i++ ) {
32
32
            tpool[i].start();