# Disable fork join when one of the tasks complete

**URL:** <https://verificationacademy.com/forums/t/disable-fork-join-when-one-of-the-tasks-complete/32758>\
**Category:** SystemVerilog\
**Tags:** fork-join\_any, SystemVerilog, fork-join-in-loop\
**Created:** [January 18, 2017, 3:41pm UTC](https://verificationacademy.com/forums/t/disable-fork-join-when-one-of-the-tasks-complete/32758 "2017-01-18T15:41:46Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![dave\_59](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/dave_59/32/4499_2.png) [@dave\_59](https://verificationacademy.com/forums/u/dave_59)\
**Post date:** [January 19, 2017, 3:57am UTC](https://verificationacademy.com/forums/t/disable-fork-join-when-one-of-the-tasks-complete/32758/6 "2017-01-19T03:57:14Z")

</div>

_In reply to [kddholak](https://verificationacademy.com/forums/t/disable-fork-join-when-one-of-the-tasks-complete/32758/5):_  
Your code does not work. The thread that you kill will already be completed.

---

_[View the full topic](https://verificationacademy.com/forums/t/disable-fork-join-when-one-of-the-tasks-complete/32758)._
