summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrpj <rpj>2006-01-24 13:58:20 +0000
committerrpj <rpj>2006-01-24 13:58:20 +0000
commit173a8b65ee3d51a9fbcbe1eb75c365155c15b281 (patch)
treebd8784791c6efb5da5d32caf7a2a6ee956db7eaf
parent853debf2e358b612a595ae421563683a1e774798 (diff)
''
-rw-r--r--ChangeLog4
-rw-r--r--pthread.h4
-rw-r--r--pthread_cancel.c4
3 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 26a6415..b0a0ab5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-01-25 Prashant Thakre <prashant.thakre at gmail.com>
+
+ * pthread_cancel.c: Added _M_IA64 register context support.
+
2005-05-13 Ross Johnson <ross at callisto.canberra.edu.au>
* pthread_kill.c (pthread_kill): Remove check for Win32 thread
diff --git a/pthread.h b/pthread.h
index ac3dab0..25cfa2a 100644
--- a/pthread.h
+++ b/pthread.h
@@ -37,8 +37,8 @@
* See the README file for an explanation of the pthreads-win32 version
* numbering scheme and how the DLL is named etc.
*/
-#define PTW32_VERSION 1,11,0,0
-#define PTW32_VERSION_STRING "1, 11, 0, 0\0"
+#define PTW32_VERSION 1,12,0,0
+#define PTW32_VERSION_STRING "1, 12, 0, 0\0"
/* There are three implementations of cancel cleanup.
* Note that pthread.h is included in both application
diff --git a/pthread_cancel.c b/pthread_cancel.c
index 971edc8..1118977 100644
--- a/pthread_cancel.c
+++ b/pthread_cancel.c
@@ -41,6 +41,10 @@
#define PTW32_PROGCTR(Context) ((Context).Eip)
#endif
+#if defined (_M_IA64)
+#define PTW32_PROGCTR(Context) ((Context).StIIP)
+#endif
+
#if defined(_MIPS_)
#define PTW32_PROGCTR(Context) ((Context).Fir)
#endif