QNX

J. Michael Berkley jmberkley at watnext.waterloo.edu
Fri Jul 7 05:06:20 AEST 1989


In article <1226 at altos86.UUCP> peter at ficc.uu.net writes:
> I was also under the impression that QNX does NOT implement the fork()
> system call. This is just fine for realtime work (fork() is a pig), but
> it's not adequate in a development environment where you're going to want
> to run your favorite UNIX tools.

No, QNX does have fork(), and it works very efficiently.  I once wrote
a terminal emulator for QNX that used fork() to start two copies of
itself, one task for each of the screen, keyboard and serial port.
QNX also shares code, so the only memory overhead was the data.
Inter-task messages under QNX are so efficient that using the three
tasks with inter-task messaging made the emulator faster than one
monolithic task polling the keyboard and serial port.

 Mike Berkley, University of Waterloo
 PAMI Lab
 jmberkley at watnext.waterloo.edu
 {utai,uunet}!watmath!watnext!jmberkley



More information about the Comp.unix mailing list