Rombobjörn

summaryrefslogtreecommitdiff
path: root/thread_wrapper/pthread_create_locator.h
diff options
context:
space:
mode:
Diffstat (limited to 'thread_wrapper/pthread_create_locator.h')
-rw-r--r--thread_wrapper/pthread_create_locator.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/thread_wrapper/pthread_create_locator.h b/thread_wrapper/pthread_create_locator.h
new file mode 100644
index 0000000..04a1567
--- /dev/null
+++ b/thread_wrapper/pthread_create_locator.h
@@ -0,0 +1,12 @@
+// Ada Milter API thread wrapper
+// Copyright 2013 B. Persson, Bjorn@Rombobeorn.se
+//
+// This library is free software: you can redistribute it and/or modify it
+// under the terms of the GNU General Public License version 3, as published
+// by the Free Software Foundation.
+
+
+void* dlsym_next_pthread_create();
+// dlsym_next_pthread_create returns the address of the next symbol named
+// "pthread_create" in the library search order - that is the first one in a
+// dynamic library as this code must be in the main executable.