mirror of
https://github.com/rofl0r/proxychains-ng.git
synced 2025-09-09 17:23:32 +00:00
use mutexes also to protect the pipe communication
wasn't threadsafe before.
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
#ifndef SHM_H
|
||||
#define SHM_H
|
||||
#include <unistd.h>
|
||||
|
||||
struct stringpool {
|
||||
@ -8,7 +10,8 @@ struct stringpool {
|
||||
|
||||
void stringpool_init(struct stringpool* sp);
|
||||
char* stringpool_add(struct stringpool *sp, char* s, size_t len);
|
||||
|
||||
#if 0
|
||||
void *shm_realloc(void* old, size_t old_size, size_t new_size);
|
||||
|
||||
#endif
|
||||
//RcB: DEP "shm.c"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user