From f8dd17853735d2fdf1c39b81cf9cb3e4bdd54342 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 19 Jul 2022 10:07:13 +0200 Subject: [PATCH 1/1] Kill useless commented code. [ci-skip]. --- src/sthread/sthread.c | 5 ----- src/sthread/sthread_impl.cpp | 5 ----- 2 files changed, 10 deletions(-) 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; -- 2.20.1