mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-26 01:46:32 -05:00
Remove the need of helgrind/drd suppression
Using a mutex for protectign the global memory counter should not affect performance.
This commit is contained in:
parent
b059457190
commit
7ad70c26f8
7 changed files with 45 additions and 24 deletions
|
|
@ -951,7 +951,7 @@ static int device_thread(tommy_list* list, void* (*func)(void* arg))
|
|||
int fail = 0;
|
||||
tommy_node* i;
|
||||
|
||||
#if HAVE_PTHREAD_CREATE
|
||||
#if HAVE_PTHREAD
|
||||
/* start all threads */
|
||||
for (i = tommy_list_head(list); i != 0; i = i->next) {
|
||||
devinfo_t* devinfo = i->data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue