Lines 1-3
Link Here
|
|
|
1 |
--- libpolyml/sighandler.cpp.orig 2008-02-28 00:20:51.000000000 +1100 |
2 |
+++ libpolyml/sighandler.cpp 2008-07-27 21:26:41.000000000 +1000 |
3 |
@@ -357,7 +357,7 @@ |
4 |
struct sigaltstack ex_stack; |
5 |
#endif |
6 |
memset(&ex_stack, 0, sizeof(ex_stack)); |
7 |
- ex_stack.ss_sp = taskData->signalStack; |
8 |
+ ex_stack.ss_sp = (char *)taskData->signalStack; |
9 |
ex_stack.ss_size = SIGSTKSZ; |
10 |
ex_stack.ss_flags = 0; /* not SS_DISABLE */ |
11 |
int sigaltstack_result = sigaltstack(&ex_stack, NULL); |
12 |
@@ -526,7 +526,7 @@ |
13 |
pthread_attr_init(&attrs); |
14 |
pthread_attr_setdetachstate(&attrs, PTHREAD_CREATE_DETACHED); |
15 |
#ifdef PTHREAD_STACK_MIN |
16 |
- pthread_attr_setstacksize(&attrs, PTHREAD_STACK_MIN); // Only small stack. |
17 |
+ pthread_attr_setstacksize(&attrs, PTHREAD_STACK_MIN + 100); // Only small stack. |
18 |
#endif |
19 |
pthread_create(&detectionThreadId, &attrs, SignalDetectionThread, 0); |
20 |
pthread_attr_destroy(&attrs); |
1 |
--- libpolyml/sighandler.cpp.orig 2008-04-05 16:03:20.000000000 +1100 |
21 |
--- libpolyml/sighandler.cpp.orig 2008-04-05 16:03:20.000000000 +1100 |
2 |
+++ libpolyml/sighandler.cpp 2008-04-05 16:03:29.000000000 +1100 |
22 |
+++ libpolyml/sighandler.cpp 2008-04-05 16:03:29.000000000 +1100 |
3 |
@@ -381,7 +381,7 @@ |
23 |
@@ -381,7 +381,7 @@ |