This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
The priority of the newly created thread is set equal to the priority of the thread creating it, that is, the currently running thread. The method setPriority may be used to change the priority to a new value.
Moreover, we ain't got many rules 'round these parts, but we do got one. Please change your displayed name to comply with the JavaRanch Naming Policy. Thanks Pardner! Hope to see you 'round the Ranch!
Hi, If a thread priority is not specified explicitly, it would inherit the priority of the thread it was created in. So if you had a main thread, with the default priority of 5, and you created your thread from within it, then the new thread would also have the same priority of 5. But lets say if you changed the priority of the main thread to say 8, then the thread you create will also have the priority of 8. I hope this is helpful. Also check this thread link on the forum for a small example Regards, Anupreet
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com