summaryrefslogtreecommitdiffstats
path: root/devel/glib20/files/extra-patch-gthread_gthread-posix.c
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-03-14 09:21:27 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-03-14 09:21:27 +0800
commit6ea8cdadd34fade98a807bf84429806612c65079 (patch)
treeb7f18e7e629139c395bf0080243a2218963d0301 /devel/glib20/files/extra-patch-gthread_gthread-posix.c
parent857bb773fe0bad1b58fa9c68ece3c326f60613e6 (diff)
downloadmarcuscom-ports-6ea8cdadd34fade98a807bf84429806612c65079.tar
marcuscom-ports-6ea8cdadd34fade98a807bf84429806612c65079.tar.gz
marcuscom-ports-6ea8cdadd34fade98a807bf84429806612c65079.tar.bz2
marcuscom-ports-6ea8cdadd34fade98a807bf84429806612c65079.tar.lz
marcuscom-ports-6ea8cdadd34fade98a807bf84429806612c65079.tar.xz
marcuscom-ports-6ea8cdadd34fade98a807bf84429806612c65079.tar.zst
marcuscom-ports-6ea8cdadd34fade98a807bf84429806612c65079.zip
Remove these ports now that they have been merged into the ports tree.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3934 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/glib20/files/extra-patch-gthread_gthread-posix.c')
-rw-r--r--devel/glib20/files/extra-patch-gthread_gthread-posix.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/devel/glib20/files/extra-patch-gthread_gthread-posix.c b/devel/glib20/files/extra-patch-gthread_gthread-posix.c
deleted file mode 100644
index 8796dd629..000000000
--- a/devel/glib20/files/extra-patch-gthread_gthread-posix.c
+++ /dev/null
@@ -1,32 +0,0 @@
---- gthread/gthread-posix.c.orig Mon Nov 1 13:47:12 2004
-+++ gthread/gthread-posix.c Wed Mar 9 14:21:20 2005
-@@ -115,7 +115,11 @@
- # define PRIORITY_NORMAL_VALUE priority_normal_value
- #endif /* POSIX_MIN_PRIORITY && POSIX_MAX_PRIORITY */
-
-+#define G_THREAD_STACK_SIZE32 (1*1024*1024)
-+#define G_THREAD_STACK_SIZE64 (2*1024*1024)
-+
- static gulong g_thread_min_stack_size = 0;
-+static gulong g_thread_default_stack_size = 0;
-
- #define G_MUTEX_SIZE (sizeof (pthread_mutex_t))
-
-@@ -307,8 +312,16 @@
- if (stack_size)
- {
- stack_size = MAX (g_thread_min_stack_size, stack_size);
-- posix_check_cmd (pthread_attr_setstacksize (&attr, stack_size));
- }
-+ else
-+ {
-+ if (sizeof(void *) == 8)
-+ g_thread_default_stack_size = G_THREAD_STACK_SIZE64;
-+ else
-+ g_thread_default_stack_size = G_THREAD_STACK_SIZE32;
-+ stack_size = MAX (g_thread_min_stack_size, g_thread_default_stack_size);
-+ }
-+ posix_check_cmd (pthread_attr_setstacksize (&attr, stack_size));
- #endif /* HAVE_PTHREAD_ATTR_SETSTACKSIZE */
-
- #ifdef PTHREAD_SCOPE_SYSTEM