[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog server/thread.h
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog server/thread.h |
Date: |
Sat, 12 Aug 2006 21:50:05 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 06/08/12 21:50:04
Modified files:
. : ChangeLog
Removed files:
server : thread.h
Log message:
removed duplicated code (use libbase/Thread.h)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.627&r2=1.628
http://cvs.savannah.gnu.org/viewcvs/gnash/server/thread.h?cvsroot=gnash&r1=1.4&r2=0
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.627
retrieving revision 1.628
diff -u -b -r1.627 -r1.628
--- ChangeLog 11 Aug 2006 20:53:44 -0000 1.627
+++ ChangeLog 12 Aug 2006 21:50:03 -0000 1.628
@@ -1,3 +1,8 @@
+2006-08-12 Sandro Santilli <address@hidden>
+
+ * server/thread.h: removed duplicated code
+ (use libbase/Thread.h)
+
2006-08-11 Sandro Santilli <address@hidden>
* gui/gtk.cpp: removed unused parameter warnings.
Index: server/thread.h
===================================================================
RCS file: server/thread.h
diff -N server/thread.h
--- server/thread.h 24 Apr 2006 23:05:56 -0000 1.4
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,80 +0,0 @@
-//
-// Copyright (C) 2005, 2006 Free Software Foundation, Inc.
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-// You should have received a copy of the GNU General Public License
-// along with this program; if not, write to the Free Software
-// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
-// Linking Gnash statically or dynamically with other modules is making a
-// combined work based on Gnash. Thus, the terms and conditions of the GNU
-// General Public License cover the whole combination.
-//
-// As a special exception, the copyright holders of Gnash give you
-// permission to combine Gnash with free software programs or libraries
-// that are released under the GNU LGPL and with code included in any
-// release of Talkback distributed by the Mozilla Foundation. You may
-// copy and distribute such a system following the terms of the GNU GPL
-// for all but the LGPL-covered parts and Talkback, and following the
-// LGPL for the LGPL-covered parts.
-//
-// Note that people who make modified versions of Gnash are not obligated
-// to grant this special exception for their modified versions; it is their
-// choice whether to do so. The GNU General Public License gives permission
-// to release a modified version without this exception; this exception
-// also makes it possible to release a modified version which carries
-// forward this exception.
-//
-//
-//
-
-#ifndef __G_PTHREAD_H__
-#define __G_PTHREAD_H__
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#ifdef HAVE_PTHREADS
-
-#include <pthread.h>
-
-namespace gnash {
- typedef void *(*PThreadPtr)(void *);
- typedef void (*PThreadCleanupPtr)(void *);
-
-
-class Thread
- {
- public:
- Thread();
- ~Thread();
- // Create a new thread
- pthread_t *createPThread(void *, PThreadPtr funcptr);
-
- // Destroy the thread
- void destroyPThread(void *retval);
- void destroyPThread();
-
- // Setup a cleanup function
- void cleanupThread(PThreadCleanupPtr funcptr, void *arg);
- pthread_attr_t _tattr; // holds thread's attributes
- protected:
- pthread_t _thread; // pointer to the thread info
-
- private:
-} // end of gnash namespace
-
-// end of HAVE_PTHREADS
-#endif
-
-// __G_PTHREAD_H__
-#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog server/thread.h,
Sandro Santilli <=