Still removing pthread patches

This commit is contained in:
2018-01-02 13:12:24 +01:00
parent dc28ad6910
commit 798554fd92
15 changed files with 11 additions and 62 deletions
-9
View File
@@ -22,14 +22,7 @@
#include <dlfcn.h>
#include <elf.h>
#include <link.h>
#if !defined(__minix)
#include <pthread.h>
#else
#define pthread_rwlock_init(l, d) /* nothing */
#define pthread_rwlock_rdlock(l) /* nothing */
#define pthread_rwlock_wrlock(l) /* nothing */
#define pthread_rwlock_unlock(l) /* nothing */
#endif /* !defined(__minix) */
#include "dwarf2.h"
@@ -351,9 +344,7 @@ public:
private:
findPCRange_t findPCRange;
bool needsReload;
#if !defined(__minix)
pthread_rwlock_t fdeTreeLock;
#endif /* !defined(__minix) */
rb_tree_t segmentTree;
rb_tree_t dsoTree;
-2
View File
@@ -14,9 +14,7 @@
#include <stdint.h>
#include <stdlib.h>
#if !defined(__minix)
#include <pthread.h>
#endif /* !defined(__minix) */
#include "AddressSpace.hpp"
#include "DwarfInstructions.hpp"