nanogui: Suggestion for adding nanowm into graphic server!


Previous by date: 7 Aug 2002 20:35:50 -0000 -O3 and fstat, David Muse
Next by date: 7 Aug 2002 20:35:50 -0000 Re: Suggestion for adding nanowm into graphic server!, Greg Haerr
Previous in thread: 7 Aug 2002 20:35:50 -0000 Re: Suggestion for adding nanowm into graphic server!, wang
Next in thread: 7 Aug 2002 20:35:50 -0000 Re: Suggestion for adding nanowm into graphic server!, Greg Haerr

Subject: Re: Suggestion for adding nanowm into graphic server!
From: "Aaron J. Grier" ####@####.####
Date: 7 Aug 2002 20:35:50 -0000
Message-Id: <20020807202111.GA27639@aaron.unix.fryenet>

On Tue, Aug 06, 2002 at 07:59:31AM +0100, Alex Holden wrote:

> I think that's [reentrant nano-X] easier said than done.

which is why it hasn't been done yet.  ;)

[snip]
> It's not like in an OS kernel where one thread can safely talk to a
> disk controller while another talks to a network card.

I guess that's the first question to ask: what concurrency is possible
or desired in nano-X?

> Another question: what "flavour" of OS threads would be guaranteed to
> work on both Linux and all the embedded systems we might want to run
> on?  Pthreads?

I was thinking posix threads since they seem to be supported in both
Linux and RTOS worlds...

at the very least it would be nice to have a hook for a global lock
callback.  currently I'm having to play linker tricks (--wrap GrFOO) to
wedge this in.  separating into client-server is a possibility, but
that's a separate can of worms when dealing with what is effectively a
multi-threaded single process.  :)

-- 
  Aaron J. Grier  |   Frye Electronics, Tigard, OR   |  ####@####.####

Previous by date: 7 Aug 2002 20:35:50 -0000 -O3 and fstat, David Muse
Next by date: 7 Aug 2002 20:35:50 -0000 Re: Suggestion for adding nanowm into graphic server!, Greg Haerr
Previous in thread: 7 Aug 2002 20:35:50 -0000 Re: Suggestion for adding nanowm into graphic server!, wang
Next in thread: 7 Aug 2002 20:35:50 -0000 Re: Suggestion for adding nanowm into graphic server!, Greg Haerr


Powered by ezmlm-browse 0.20.