aboutsummaryrefslogtreecommitdiff
path: root/include/pub_tool_tooliface.h
diff options
context:
space:
mode:
authordirk <dirk@a5019735-40e9-0310-863c-91ae7b9d1cf9>2006-11-14 14:32:46 +0000
committerdirk <dirk@a5019735-40e9-0310-863c-91ae7b9d1cf9>2006-11-14 14:32:46 +0000
commitf8126e9f46b58348ccd6d6055860289bfabf66b6 (patch)
treea31aa746a878a3dc8c7afb0b7d43d9f451becff4 /include/pub_tool_tooliface.h
parent1355264d2fe6fb63a4498a645984233bd00bfaf3 (diff)
downloadvalgrind-f8126e9f46b58348ccd6d6055860289bfabf66b6.tar.gz
change void* to Addr in mutex helpers. patch by Bard Van Assche.
I've bumped the tool interface version because it seems binary incompatible. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6350 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'include/pub_tool_tooliface.h')
-rw-r--r--include/pub_tool_tooliface.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/pub_tool_tooliface.h b/include/pub_tool_tooliface.h
index 849aabf35..ecdad5fc8 100644
--- a/include/pub_tool_tooliface.h
+++ b/include/pub_tool_tooliface.h
@@ -40,7 +40,7 @@
/* The version number indicates binary-incompatible changes to the
interface; if the core and tool versions don't match, Valgrind
will abort. */
-#define VG_CORE_INTERFACE_VERSION 9
+#define VG_CORE_INTERFACE_VERSION 10
typedef struct _ToolInfo {
Int sizeof_ToolInfo;
@@ -553,15 +553,15 @@ void VG_(track_post_thread_join) (void(*f)(ThreadId joiner, ThreadId joinee));
Called before a thread can block while waiting for a mutex (called
regardless of whether the thread will block or not). */
-void VG_(track_pre_mutex_lock)(void(*f)(ThreadId tid, void* mutex));
+void VG_(track_pre_mutex_lock)(void(*f)(ThreadId tid, Addr mutex));
/* Called once the thread actually holds the mutex (always paired with
pre_mutex_lock). */
-void VG_(track_post_mutex_lock)(void(*f)(ThreadId tid, void* mutex));
+void VG_(track_post_mutex_lock)(void(*f)(ThreadId tid, Addr mutex));
/* Called after a thread has released a mutex (no need for a corresponding
pre_mutex_unlock, because unlocking can't block). */
-void VG_(track_post_mutex_unlock)(void(*f)(ThreadId tid, void* mutex));
+void VG_(track_post_mutex_unlock)(void(*f)(ThreadId tid, Addr mutex));
/* Signal events (not exhaustive)