From: Arnaud Giersch Date: Tue, 19 Jul 2022 08:07:13 +0000 (+0200) Subject: Kill useless commented code. X-Git-Tag: v3.32~141^2~1 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/f8dd17853735d2fdf1c39b81cf9cb3e4bdd54342?ds=sidebyside;hp=825e56956593f459385f9254d6f3581439c547a2 Kill useless commented code. [ci-skip]. --- diff --git a/src/sthread/sthread.c b/src/sthread/sthread.c index a444e23f68..a52fec8081 100644 --- a/src/sthread/sthread.c +++ b/src/sthread/sthread.c @@ -229,11 +229,6 @@ int sem_post(sem_t *sem) { return raw_sem_post(sem); } -int pthread_join(pthread_t thread, void **retval) { - sg_actor_join(thread, -1); - return 0; -} - int pthread_cond_init(pthread_cond_t *cond, pthread_condattr_t *cond_attr) { *cond = sg_cond_init(); return 0; diff --git a/src/sthread/sthread_impl.cpp b/src/sthread/sthread_impl.cpp index 768a0d55d5..7721982343 100644 --- a/src/sthread/sthread_impl.cpp +++ b/src/sthread/sthread_impl.cpp @@ -166,11 +166,6 @@ int sem_post(sem_t *sem) { return raw_sem_post(sem); } -int pthread_join(pthread_t thread, void **retval) { - sg_actor_join(thread, -1); - return 0; -} - int pthread_cond_init(pthread_cond_t *cond, pthread_condattr_t *cond_attr) { *cond = sg_cond_init(); return 0;