Rombobjörn

summaryrefslogtreecommitdiff
path: root/thread_wrapper/pthread_create_locator.h
blob: 04a1567202e3c696a9a1a985cf59c53a3358f574 (plain)
1
2
3
4
5
6
7
8
9
10
11
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.