nanogui: about nanowm
Subject:
Re: about nanowm
From:
"Aaron J. Grier" ####@####.####
Date:
3 Jul 2002 17:41:40 -0000
Message-Id: <20020703102853.X12218@aaron.internal>
On Tue, Jul 02, 2002 at 08:12:10PM -0700, Greg Haerr wrote:
> > By the way if viewml can work when microwin is in
> > LINK_APP_INTO_SERVER = Y mode ?
>
> This may work, providing that only a single thread in ViewML calls the
> nano-X GrXXX routines.
or you can do what we do with RTEMS and stick a lock around all the Gr*
functions to ensure that only one thread at a time is in nano-X. it is
not elegant or the best way to do things, but it does work. I can send
a makefile snippet and code to anybody who's interested.
microwin/nano-X is probably never going to be completely reentrant, but
at least it would be nice to have hooks in place for fine-grained data
locking. if I only I had the time. ;)
--
Aaron J. Grier | Frye Electronics, Tigard, OR | ####@####.####