diff options
author | dimitri staessens <[email protected]> | 2017-04-02 09:48:43 +0000 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-04-02 09:48:43 +0000 |
commit | 4e25827bd78ef32ab01715ff7cc8737a5165fc6c (patch) | |
tree | 96a92de0dede2128bbf22c82cee5e753ff4b0562 /src/irmd | |
parent | a240900525c0ffba92588a3deca88dfec82125e3 (diff) | |
parent | 1e62996112a2a43bd0f572676bc8d87761ad6386 (diff) | |
download | ouroboros-4e25827bd78ef32ab01715ff7cc8737a5165fc6c.tar.gz ouroboros-4e25827bd78ef32ab01715ff7cc8737a5165fc6c.zip |
Merged in dstaesse/ouroboros/be-irmd (pull request #452)
irmd: Fix thread creation order
Diffstat (limited to 'src/irmd')
-rw-r--r-- | src/irmd/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c index 966be500..19d27bf9 100644 --- a/src/irmd/main.c +++ b/src/irmd/main.c @@ -2278,11 +2278,11 @@ int main(int argc, } pthread_create(&irmd->tpm, NULL, threadpoolmgr, NULL); - pthread_join(irmd->tpm, NULL); pthread_create(&irmd->irm_sanitize, NULL, irm_sanitize, NULL); pthread_create(&irmd->shm_sanitize, NULL, shm_sanitize, irmd->rdrb); + pthread_join(irmd->tpm, NULL); pthread_join(irmd->irm_sanitize, NULL); pthread_cancel(irmd->shm_sanitize); |