For QNX 4.x ?

Junji OAKI oaki at
Thu Jun 24 05:10:55 PDT 1999

Jeppe Sommer wrote:

>  > I appreciate your complete answers. I will try.
>  > Recently, however, I have heard that the newest Kaffe for QNX 4.x
>  > cannot be build by the gcc from QNX newsgroup "comp.os.qnx".
>  > Your patch can solve this problem ?
> Yes, together with an 'nm' that I implemented as a shell script that
> converts OMF object files into ELF before using the ELF nm (the OMF nm
> that is available does not work with gcc).

Thanks for your quick reply.
Could you release your patch to build Kaffe for QNX.4.x by gcc ?

>  > > The current (unreleased) port uses the "jthreads" package which is a
>  > > user-level thread package. The java virtual machine runs as a single
>  > > QNX process, and the CPU time allocated to this process is allocated
>  > > to the java threads by an internal scheduler.
>  >
>  > I understand.
>  >
>  >
>  > > To me, real time means (in a QNX context) that java threads are
>  > > handled by the QNX scheduler, so that priority and scheduling policy
>  > > can be controlled for each thread.
>  > >
>  > > Also, an interface to the native QNX message passing primitives would
>  > > come in handy, making it possible, e.g, to create a java server thread
>  > > with a priority that adapts to the priorities of its current clients
>  > > (whether "c" processes or java threads).
>  > >
>  > > Last (but not at all least) kaffe currently has a non-incremental
>  > > "stop the world" garbage collector. Until this changes, forget about
>  > > real time.
>  >
>  > I hope that an interface to the native QNX message passing primitives will
>  > come in handy, Difficult ?
> No, but to be really useful, I think that you need Kaffe to use native
> threads, otherwise you will potentially block the entire virtual
> machine each time you want to send/receive a message. So I guess that
> the most natural first step would be to integrate Kaffe with the POSIX
> native thread interface that is available in QNX 4.x.

Real time Java will make us happy. But I don't stick to "Real time" for now.
Our robot project needs HORB and JNI technology in user processes, not so high

Is JNI avalable in Kaffe for QNX 4.x ?
Has anyone succeeded in using JNI ?

Has anyone succeeded in using HORB with Kaffe for QNX 4.x ?

Thank you in advance,
Junji OAKI

More information about the kaffe mailing list