Changeset: 969ed6be1826 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=969ed6be1826
Modified Files:
gdk/gdk_system.c
Branch: Jul2017
Log Message:
Don't use == to compare values of type pthread_t, use pthread_equal instead.
diffs (12 lines):
diff --git a/gdk/gdk_system.c b/gdk/gdk_system.c
--- a/gdk/gdk_system.c
+++ b/gdk/gdk_system.c
@@ -435,7 +435,7 @@ find_posthread_locked(pthread_t tid)
struct posthread *p;
for (p = posthreads; p; p = p->next)
- if (p->tid == tid)
+ if (pthread_equal(p->tid, tid))
return p;
return NULL;
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list