ref: 0ef7731ef2751c278288941ce38c941fd4a02dcd
parent: a208863ca4fa3443fb47ea93f3c7016ffe3301f7
author: David <gek@katherine>
date: Fri Mar 5 13:06:34 EST 2021
Update lsthread
--- a/SDL_Examples/include/lockstepthread.h
+++ b/SDL_Examples/include/lockstepthread.h
@@ -87,7 +87,6 @@
lsthread* me = (lsthread*) me_void;
int ret = 0;
if (!me)pthread_exit(NULL);
- if(!me->execute)pthread_exit(NULL);
while (1) {
//ret = pthread_cond_wait(&(me->myCond), &(me->myMutex));
pthread_barrier_wait(&me->myBarrier);