|
From: <sv...@va...> - 2007-09-10 13:35:06
|
Author: sewardj
Date: 2007-09-10 14:35:02 +0100 (Mon, 10 Sep 2007)
New Revision: 6808
Log:
Oops. This should have been included in r6805 (Modify two
thread-notification events in the core-tool interface...)
Modified:
branches/THRCHECK/include/pub_tool_tooliface.h
Modified: branches/THRCHECK/include/pub_tool_tooliface.h
===================================================================
--- branches/THRCHECK/include/pub_tool_tooliface.h 2007-09-10 05:17:34 UTC (rev 6807)
+++ branches/THRCHECK/include/pub_tool_tooliface.h 2007-09-10 13:35:02 UTC (rev 6808)
@@ -562,13 +562,18 @@
/* Thread events (not exhaustive)
- Called during thread create, before the new thread has run any
- instructions (or touched any memory).
- */
-void VG_(track_post_thread_create)(void(*f)(ThreadId tid, ThreadId child));
-void VG_(track_post_thread_join) (void(*f)(ThreadId joiner, ThreadId joinee));
+ ll_create: low level thread creation. Called before the new thread
+ has run any instructions (or touched any memory). In fact, called
+ immediately before the new thread has come into existence; the new
+ thread can be assumed to exist when notified by this call.
+ ll_exit: low level thread exit. Called after the exiting thread
+ has run its last instruction.
+*/
+void VG_(track_pre_thread_ll_create)(void(*f)(ThreadId tid, ThreadId child));
+void VG_(track_pre_thread_ll_exit) (void(*f)(ThreadId tid));
+
/* Signal events (not exhaustive)
... pre_send_signal, post_send_signal ...
|