Hi, Please find attached a patch that removes the hardcoded number of threads and allows setting the number of worker threads from the commandline using the new arguments -t/--threads . The default value for number of threads, if -t/--threads are not specified, is 4, to match the behaviour of tgtd before this patch. Attached both as text and in gzip format in case gmail mangles the patch. regards ronnie sahlberg -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Add-an-argument-threads-t-to-allow-setting-the-nu.patch Type: text/x-diff Size: 5720 bytes Desc: not available URL: <http://lists.wpkg.org/pipermail/stgt/attachments/20090921/b100c69a/attachment.patch> -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Add-an-argument-threads-t-to-allow-setting-the-nu.patch.gz Type: application/x-gzip Size: 2074 bytes Desc: not available URL: <http://lists.wpkg.org/pipermail/stgt/attachments/20090921/b100c69a/attachment.bin> |