[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog server/movie_def_impl.cpp serve...
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog server/movie_def_impl.cpp serve... |
Date: |
Tue, 22 Aug 2006 00:53:54 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 06/08/22 00:53:54
Modified files:
. : ChangeLog
server : movie_def_impl.cpp movie_def_impl.h
Log message:
* server/movie_def_impl.{cpp,h}: use USE_SDL_THREADS macro
to switch between SDL and straight POSIX threads calls
(defaults
to straight POSIX).
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.672&r2=1.673
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_def_impl.cpp?cvsroot=gnash&r1=1.29&r2=1.30
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_def_impl.h?cvsroot=gnash&r1=1.21&r2=1.22
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.672
retrieving revision 1.673
diff -u -b -r1.672 -r1.673
--- ChangeLog 22 Aug 2006 00:17:53 -0000 1.672
+++ ChangeLog 22 Aug 2006 00:53:54 -0000 1.673
@@ -1,5 +1,11 @@
2006-08-21 Sandro Santilli <address@hidden>
+ * server/movie_def_impl.{cpp,h}: use USE_SDL_THREADS macro
+ to switch between SDL and straight POSIX threads calls (defaults
+ to straight POSIX).
+
+2006-08-21 Sandro Santilli <address@hidden>
+
* gui/gnash.cpp: fix bug #17467
* server/gnash.h: doxygen comments on render_handler struct
* utilities/processor.cpp: don't show -vp and -va options if
Index: server/movie_def_impl.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/movie_def_impl.cpp,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- server/movie_def_impl.cpp 22 Aug 2006 00:06:00 -0000 1.29
+++ server/movie_def_impl.cpp 22 Aug 2006 00:53:54 -0000 1.30
@@ -81,7 +81,7 @@
namespace gnash
{
-#ifdef HAVE_SDL_H
+#ifdef USE_SDL_THREADS
MovieLoader::MovieLoader(movie_def_impl& md)
:
Index: server/movie_def_impl.h
===================================================================
RCS file: /sources/gnash/gnash/server/movie_def_impl.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- server/movie_def_impl.h 21 Aug 2006 09:53:10 -0000 1.21
+++ server/movie_def_impl.h 22 Aug 2006 00:53:54 -0000 1.22
@@ -56,7 +56,17 @@
#include <string>
#include <memory> // for auto_ptr
+// We'd avoid SDL threads if possible. Please define the macro below
+// if you experience problems and report the difference on gnash-dev
+#undef REALLY_USE_SDL_THREADS
+
+#ifdef REALLY_USE_SDL_THREADS
#ifdef HAVE_SDL_H
+# define USE_SDL_THREADS 1
+#endif
+#endif
+
+#ifdef USE_SDL_THREADS
# include "SDL.h"
# include "SDL_thread.h"
#endif
@@ -136,7 +146,7 @@
size_t _waiting_for_frame;
movie_def_impl& _movie_def;
-#ifdef HAVE_SDL_H
+#ifdef USE_SDL_THREADS
static int execute(void* arg);