diff options
author | William Pitcock <nenolod@dereferenced.org> | 2017-10-19 08:43:11 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-10-19 08:48:32 +0000 |
commit | c3ed83e4b928a629aa9a898cf823fcdefb1631ce (patch) | |
tree | d1e4015fd5ce7b508452675a23bd922dc599ef90 /main/guile/stacksize.patch | |
parent | 1fcb8f13319a1aea3c4912000dd2f194413d3eda (diff) | |
download | aports-c3ed83e4b928a629aa9a898cf823fcdefb1631ce.tar.bz2 aports-c3ed83e4b928a629aa9a898cf823fcdefb1631ce.tar.xz |
main/guile: downgrade to 2.0.14
Diffstat (limited to 'main/guile/stacksize.patch')
-rw-r--r-- | main/guile/stacksize.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/main/guile/stacksize.patch b/main/guile/stacksize.patch deleted file mode 100644 index a6a58d385c..0000000000 --- a/main/guile/stacksize.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/libguile/finalizers.c b/libguile/finalizers.c -index c5d69e8..f8d78d8 100644 ---- a/libguile/finalizers.c -+++ b/libguile/finalizers.c -@@ -246,11 +246,19 @@ start_finalization_thread (void) - to block on any lock that scm_spawn_thread might want to take, - and we don't want to inherit the dynamic state (fluids) of the - caller. */ -- if (pthread_create (&finalization_thread, NULL, -- run_finalization_thread, NULL)) -- perror ("error creating finalization thread"); -+ pthread_attr_t attr; -+ if (pthread_attr_init(&attr)) -+ perror ("pthread_attr_init"); - else -- finalization_thread_is_running = 1; -+ { -+ if (pthread_attr_setstacksize(&attr, 512 * 1024) == 0 && -+ pthread_create (&finalization_thread, &attr, -+ run_finalization_thread, NULL) == 0) -+ finalization_thread_is_running = 1; -+ else -+ perror ("error creating finalization thread"); -+ pthread_attr_destroy(&attr); -+ } - } - scm_i_pthread_mutex_unlock (&finalization_thread_lock); - } |