/*
* TODO:
* Make this a little bit less specific!
+ * What?
*/
- if (a->thread_id.linux_tid < a->thread_id.linux_tid)
- return -1;
- else if (a->thread_id.linux_tid > a->thread_id.linux_tid)
- return +1;
- else if (a->vres_type < b->vres_type)
+// if (a->thread_id.linux_tid < a->thread_id.linux_tid)
+// return -1;
+// else if (a->thread_id.linux_tid > a->thread_id.linux_tid)
+// return +1;
+// else if (a->vres_type < b->vres_type)
+// return -1;
+// else if (a->vres_type > b->vres_type)
+// return +1;
+
+ if (a->vres_type < b->vres_type)
return -1;
else if (a->vres_type > b->vres_type)
return +1;
-
+
+
return 0;
}