// ===========================================================
    private void buildConfig(String[] config, int threadsNumber) {
      if (config.length == 0) //  Do nothing
      return;
      //  first time rebuild lines (ended by '\'
      ArrayList<String> lines = rebuildLines(config);

      int threadCounter = 0;
      for (String line : lines) {
        StringTokenizer stk = new StringTokenizer(line, ",");
        PollThread thread = new PollThread(threadCounter++);
        while (stk.hasMoreTokens()) thread.add(stk.nextToken());
        add(thread);
      }
      for (int i = threadCounter; i < threadsNumber; i++) add(new PollThread(i));
    }