[Pcsclite-cvs-commit] r2749 - in /trunk/PCSC/src: thread_generic.h thread_unix.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Mon Jan 21 09:59:55 UTC 2008
Author: rousseau
Date: Mon Jan 21 09:59:54 2008
New Revision: 2749
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=2749
Log:
add SYS_ThreadSetCancelType()
Modified:
trunk/PCSC/src/thread_generic.h
trunk/PCSC/src/thread_unix.c
Modified: trunk/PCSC/src/thread_generic.h
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/thread_generic.h?rev=2749&op=diff
==============================================================================
--- trunk/PCSC/src/thread_generic.h (original)
+++ trunk/PCSC/src/thread_generic.h Mon Jan 21 09:59:54 2008
@@ -57,6 +57,7 @@
int SYS_ThreadExit(LPVOID);
PCSCLITE_THREAD_T SYS_ThreadSelf(void);
int SYS_ThreadEqual(PCSCLITE_THREAD_T *, PCSCLITE_THREAD_T *);
+ int SYS_ThreadSetCancelType(int, int *);
#ifdef __cplusplus
}
Modified: trunk/PCSC/src/thread_unix.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/thread_unix.c?rev=2749&op=diff
==============================================================================
--- trunk/PCSC/src/thread_unix.c (original)
+++ trunk/PCSC/src/thread_unix.c Mon Jan 21 09:59:54 2008
@@ -107,3 +107,8 @@
return pthread_equal(*pthThread1, *pthThread2);
}
+INTERNAL int SYS_ThreadSetCancelType(int type, int *oldtype)
+{
+ return pthread_setcanceltype(type, oldtype);
+}
+
More information about the Pcsclite-cvs-commit
mailing list