Please do this for QThreadFactory too.
On Mon, Oct 27, 2003 at 07:59:02PM -0800, Pascal wrote:
> Update of /cvsroot/freenet/freenet/src/freenet/thread
> In directory sc8-pr-cvs1:/tmp/cvs-serv27580
>
> Modified Files:
> FastThreadFactory.java
> Log Message:
> Set the priority before starting the thread.
>
> Index: FastThreadFactory.java
> ===================================================================
> RCS file: /cvsroot/freenet/freenet/src/freenet/thread/FastThreadFactory.java,v
> retrieving revision 1.22
> retrieving revision 1.23
> diff -u -w -r1.22 -r1.23
> --- FastThreadFactory.java 28 Oct 2003 03:02:50 -0000 1.22
> +++ FastThreadFactory.java 28 Oct 2003 03:59:00 -0000 1.23
> @@ -56,9 +56,7 @@
> thread.start();
> return thread;
> } catch (EmptyStackException e) {
> - FThread ft = new FThread(threadID(), job);
> - ft.setPriority(Thread.NORM_PRIORITY);
> - return ft;
> + return new FThread(threadID(), job);
> }
> }
>
> @@ -73,6 +71,7 @@
> FThread(int num, Runnable job) {
> super(tg, "FThread-" + num);
> this.job = job;
> + super.setPriority(Thread.NORM_PRIORITY);
> super.start();
> }
>
>
> _______________________________________________
> cvs mailing list
> [EMAIL PROTECTED]
> http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs-- Matthew J Toseland - [EMAIL PROTECTED] Freenet Project Official Codemonkey - http://freenetproject.org/ ICTHUS - Nothing is impossible. Our Boss says so.
signature.asc
Description: Digital signature
_______________________________________________ Devl mailing list [EMAIL PROTECTED] http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl
