1
0
Fork 0
flightgear/src/Scenery
curt e807c7f95c A long, long time ago, a bug was inadvertently introduced into the threaded
metar fetcher.  Effectively this caused the metar thread and the main
thread to both attempt to fetch weather data.  This could lead to long pauses
when the main thread decided to fetch the weather, and introduced a race
condition that could cause a segfault/crash.

Investigating this issue, I discovered that even longer ago, someone confused
#defines and #ifdef symbols with C/C++ variables.  If I #define XYZ 0 it is
defined so #ifdef XYZ is true, not false like a variable.  Our thread
detection made this mistake and there were follow up patches to work around
it.

So I fixed the configure script (ahhh, reading the autoconf manual is highly
recommended excercise for people editing the configure.ac file.)  I also
discovered that we were hardwiring with_threads=yes with no way via configure
options to disable threads from the build so I fixed that.

Then I patched up the #ifdef's scattered through the code to match the
configure script changes, oh and by the way, I stumbled upon a past typo
that led to the race condition in the metar fetching thread and fixed that.
2005-11-22 17:02:31 +00:00
..
.cvsignore -Removed .cvsignore from itself, since .cvsignore is now in the CVS 2001-12-12 04:15:23 +00:00
design source tree reorganization prior to flightgear 0.7 2009-09-14 14:26:20 +02:00
FGTileLoader.cxx A long, long time ago, a bug was inadvertently introduced into the threaded 2005-11-22 17:02:31 +00:00
FGTileLoader.hxx A long, long time ago, a bug was inadvertently introduced into the threaded 2005-11-22 17:02:31 +00:00
hitlist.cxx Ladislav Michnovic: 2005-10-16 09:05:40 +00:00
hitlist.hxx The view frustum is defined in plib apps using calls to ssgSetFOV() and 2005-02-25 19:41:53 +00:00
Makefile.am Tidy up the autoconf/automake configuration a bit. 2002-08-25 19:40:04 +00:00
maptest.cxx source tree reorganization prior to flightgear 0.7 2009-09-14 14:26:20 +02:00
newcache.cxx Fix my mailing address by replacing it with my web page. 2004-11-19 22:10:41 +00:00
newcache.hxx Alex Romosan: 2005-10-26 09:03:49 +00:00
scenery.cxx Mathias Fröhlich: 2005-11-09 17:08:04 +00:00
scenery.hxx Mathias Fröhlich: 2005-11-09 17:08:04 +00:00
test.cxx source tree reorganization prior to flightgear 0.7 2009-09-14 14:26:20 +02:00
tileentry.cxx Mathias Frhlich: 2005-10-14 16:25:14 +00:00
tileentry.hxx Alex Romosan: 2005-10-26 09:03:49 +00:00
tilemgr.cxx A long, long time ago, a bug was inadvertently introduced into the threaded 2005-11-22 17:02:31 +00:00
tilemgr.hxx A long, long time ago, a bug was inadvertently introduced into the threaded 2005-11-22 17:02:31 +00:00