You would need to run on a JVM that respects priorities in the thread scheduler. The Sun JVM makes no such guarantees...
Edward At 11:42 PM 8/13/2007, Emir Mahmut BAHSI wrote: >Hi all, >I am trying to run two different workflows at the same time. I want to assign >different priority values to each workflow. Each workflow will be executed and >resources will be allocated based on these priority values. For instance, the >workflow having the highest priority will be executed first. When it is >stopped for some reason and waiting some event to occur, other workflow will >be executed. When that event occurs and the second workflow was still running, >second will be preempted and first workflow will be executed (Simillar >scenarios can also be possible). Is there anyway to do it? > >Thanks, > > >Building a website is a piece of cake. >Yahoo! Small Business gives you ><http://us.rd.yahoo.com/evt=48251/*http://smallbusiness.yahoo.com/webhosting/?p=PASSPORTPLUS>all > the tools to get online. >_______________________________________________ >Kepler-users mailing list >Kepler-users at ecoinformatics.org >http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-users ------------ Edward A. Lee Chair of EECS and Robert S. Pepper Distinguished Professor 231 Cory Hall, UC Berkeley, Berkeley, CA 94720-1770 phone: 510-642-0253, fax: 510-642-2845 eal at eecs.Berkeley.EDU, http://ptolemy.eecs.berkeley.edu/~eal

