blob: cdb37403df18d248ec9ba400ca0582caf1b24378 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <stdio.h>
#include <pthread.h>
#include <stdint.h>
extern int __pthread_return_0(void);
void dltest(uint32_t **value1, uint32_t **value2)
{
*value1 = (uint32_t *) __pthread_return_0;
*value2 = (uint32_t *) pthread_self;
#if 0
printf("dltest: __pthread_return_0=%p\n", __pthread_return_0);
printf("dltest: pthread_self=%p\n", pthread_self);
#endif
}
|