nanogui: Re: How many threads created at Micwindow that only a simple window
Subject:
Re: [nanogui] How many threads created at Micwindow that only a simple window
From:
"Greg Haerr" ####@####.####
Date:
14 Mar 2004 02:06:28 +0000
Message-Id: <0e7801c40968$f43f62a0$6401a8c0@gregnewport>
> I want to know if I creat a simple window program , how many threads will
be created in Ecos and Micwindow.
Microwindows doesn't use or require threads when
creating windows or processing any applications
program requests. When applications use threading,
then the LOCK/UNLOCK macros are used to stop race
conditions between threads, but that's outside
of Microwindows proper.
The eCos port allows multiple procedures to be
bound together and each run as seperate threads,
using the approach above. In the Nano-X client
library, the global variables are kept in seperate
per-thread data structures. eCos doesn't require
threads, however.
Regards,
Greg