Hi, > I have put together a small patch to get aid in the compilation of > gcj. The > changes are small and hopefully useful for Haiku. I attached the > diff to > http://dev.haiku-os.org/attachment/ticket/4696/ Hmm you don't want to use gzip at least on small patches like this, it forbids trac to display it inline and forces you to download to see... > > Let me know how I can improve this patch. Hmm... + case SCHED_FIFO: + case SCHED_RR: + case SCHED_OTHER: + return B_LOW_PRIORITY; Actually, FIFO and RR are real-time classes, they should only get the > = 100 prios IMO, and OTHER should get only <100. Since the BeAPI priority is a single namespace and differentiate only by the value ranges... Other than that it looks simple enough. François.