Ryujinx-GtkSharp/glib/glue/thread.c
Alp Toker 21cd2dfc14 2005-12-30 Alp Toker <alp@atoker.com>
* Thread.cs: Add GLib.Thread.Supported, should be checked to avoid doing
  Thread.Init() twice (Mono runtime initialises GLib threads itself, MS
  runtime doesn't)
  * glue/thread.c: g_thread_supported() is a macro, so needs glue
  * glue/Makefile.am:
  * glue/makefile.win32: Update makefiles with new glue file.


svn path=/trunk/gtk-sharp/; revision=54926
2005-12-30 12:14:59 +00:00

31 lines
911 B
C

/* list.c : Glue to access fields in GList.
*
* Author: Alp Toker <alp@atoker.com>
*
* Copyright (c) 2005 Alp Toker
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the Lesser GNU General
* Public License as published by the Free Software Foundation.
*
* 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#include <glib/gthread.h>
gboolean
glibsharp_g_thread_supported ()
{
return g_thread_supported ();
}