Remove incorrect assert in tasksys.cpp
This commit is contained in:
@@ -1033,7 +1033,6 @@ AllocTaskGroup() {
|
|||||||
if (tg != NULL) {
|
if (tg != NULL) {
|
||||||
void *ptr = lAtomicCompareAndSwapPointer((void **)(&freeTaskGroups[i]), NULL, tg);
|
void *ptr = lAtomicCompareAndSwapPointer((void **)(&freeTaskGroups[i]), NULL, tg);
|
||||||
if (ptr != NULL) {
|
if (ptr != NULL) {
|
||||||
assert(ptr == tg);
|
|
||||||
return (TaskGroup *)ptr;
|
return (TaskGroup *)ptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user