projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unicode: Move gscripttable.h generation into main script
[platform/upstream/glib.git]
/
glib
/
gthreadprivate.h
diff --git
a/glib/gthreadprivate.h
b/glib/gthreadprivate.h
index
71600e2
..
198b29a
100644
(file)
--- a/
glib/gthreadprivate.h
+++ b/
glib/gthreadprivate.h
@@
-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,
*
* 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__
*/
#ifndef __G_THREADPRIVATE_H__
@@
-25,15
+24,6
@@
#include "deprecated/gthread.h"
#include "deprecated/gthread.h"
-struct _GThread
-{
- /*< private >*/
- GThreadFunc func;
- gpointer data;
- gboolean joinable;
- GThreadPriority priority;
-};
-
typedef struct _GRealThread GRealThread;
struct _GRealThread
{
typedef struct _GRealThread GRealThread;
struct _GRealThread
{
@@
-41,29
+31,23
@@
struct _GRealThread
gint ref_count;
gboolean ours;
gint ref_count;
gboolean ours;
-
const
gchar *name;
+ gchar *name;
gpointer retval;
};
/* system thread implementation (gthread-posix.c, gthread-win32.c) */
gpointer retval;
};
/* system thread implementation (gthread-posix.c, gthread-win32.c) */
-G_GNUC_INTERNAL
void g_system_thread_wait (GRealThread *thread);
void g_system_thread_wait (GRealThread *thread);
-G_GNUC_INTERNAL
GRealThread * g_system_thread_new (GThreadFunc func,
gulong stack_size,
GError **error);
GRealThread * g_system_thread_new (GThreadFunc func,
gulong stack_size,
GError **error);
-G_GNUC_INTERNAL
void g_system_thread_free (GRealThread *thread);
void g_system_thread_free (GRealThread *thread);
-G_GNUC_INTERNAL
void g_system_thread_exit (void);
void g_system_thread_exit (void);
-G_GNUC_INTERNAL
void g_system_thread_set_name (const gchar *name);
/* gthread.c */
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,
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);
gsize stack_size,
GError **error);
-G_GNUC_INTERNAL
gpointer g_thread_proxy (gpointer thread);
#endif /* __G_THREADPRIVATE_H__ */
gpointer g_thread_proxy (gpointer thread);
#endif /* __G_THREADPRIVATE_H__ */