summaryrefslogtreecommitdiff
path: root/honggfuzz.h
diff options
context:
space:
mode:
authorRobert Swiecki <robert@swiecki.net>2020-03-21 17:50:13 +0100
committerRobert Swiecki <robert@swiecki.net>2020-03-21 17:50:13 +0100
commit082a200fa85f3af971b6b1c667e9d8baeb963a8e (patch)
treef3c6a0bc099a0fc9d633d02502948de3e45f4545 /honggfuzz.h
parentf597888a6a7780a016327676ea1b4cfc7b261794 (diff)
downloadhonggfuzz-082a200fa85f3af971b6b1c667e9d8baeb963a8e.tar.gz
mangle: add first version of cross-file splicing - make it faster by using a circular buffer
Diffstat (limited to 'honggfuzz.h')
-rw-r--r--honggfuzz.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/honggfuzz.h b/honggfuzz.h
index 7be07475..295020ac 100644
--- a/honggfuzz.h
+++ b/honggfuzz.h
@@ -226,6 +226,8 @@ typedef struct {
size_t dynfileqCnt;
pthread_rwlock_t dynfileq_mutex;
struct dynfile_t* dynfileqCurrent;
+ pthread_rwlock_t dynfileq2_mutex;
+ struct dynfile_t* dynfileq2Current;
TAILQ_HEAD(dyns_t, dynfile_t) dynfileq;
bool exportFeedback;
} io;