Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill useless commented code.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 19 Jul 2022 08:07:13 +0000 (10:07 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 20 Jul 2022 10:38:58 +0000 (12:38 +0200)
[ci-skip].

src/sthread/sthread.c
src/sthread/sthread_impl.cpp

index a444e23..a52fec8 100644 (file)
@@ -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;
index 768a0d5..7721982 100644 (file)
@@ -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;