unicode: Move gscripttable.h generation into main script
[platform/upstream/glib.git] / glib / gthreadprivate.h
index 71600e2..198b29a 100644 (file)
@@ -16,8 +16,7 @@
  *
  * You should have received a copy of the GNU Lesser General Public
  * License along with the Gnome Library; see the file COPYING.LIB.  If not,
- * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- *   Boston, MA 02111-1307, USA.
+ * see <http://www.gnu.org/licenses/>.
  */
 
 #ifndef __G_THREADPRIVATE_H__
 
 #include "deprecated/gthread.h"
 
-struct  _GThread
-{
-  /*< private >*/
-  GThreadFunc func;
-  gpointer data;
-  gboolean joinable;
-  GThreadPriority priority;
-};
-
 typedef struct _GRealThread GRealThread;
 struct  _GRealThread
 {
@@ -41,29 +31,23 @@ struct  _GRealThread
 
   gint ref_count;
   gboolean ours;
-  const gchar *name;
+  gchar *name;
   gpointer retval;
 };
 
 /* system thread implementation (gthread-posix.c, gthread-win32.c) */
-G_GNUC_INTERNAL
 void            g_system_thread_wait            (GRealThread  *thread);
 
-G_GNUC_INTERNAL
 GRealThread *   g_system_thread_new             (GThreadFunc   func,
                                                  gulong        stack_size,
                                                  GError      **error);
-G_GNUC_INTERNAL
 void            g_system_thread_free            (GRealThread  *thread);
 
-G_GNUC_INTERNAL
 void            g_system_thread_exit            (void);
-G_GNUC_INTERNAL
 void            g_system_thread_set_name        (const gchar  *name);
 
 
 /* gthread.c */
-G_GNUC_INTERNAL
 GThread *       g_thread_new_internal           (const gchar  *name,
                                                  GThreadFunc   proxy,
                                                  GThreadFunc   func,
@@ -71,7 +55,6 @@ GThread *       g_thread_new_internal           (const gchar  *name,
                                                  gsize         stack_size,
                                                  GError      **error);
 
-G_GNUC_INTERNAL
 gpointer        g_thread_proxy                  (gpointer      thread);
 
 #endif /* __G_THREADPRIVATE_H__ */