# Confusion in fork join ... disable fork

**URL:** <https://verificationacademy.com/forums/t/confusion-in-fork-join-disable-fork/28662>\
**Category:** SystemVerilog\
**Tags:** SystemVerilog\
**Created:** [June 26, 2013, 6:12pm UTC](https://verificationacademy.com/forums/t/confusion-in-fork-join-disable-fork/28662 "2013-06-26T18:12:25Z")\
**Posts on this page:** 1\
**Showing post:** 12

<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:** [August 6, 2014, 4:54pm UTC](https://verificationacademy.com/forums/t/confusion-in-fork-join-disable-fork/28662/12 "2014-08-06T16:54:28Z")

</div>

_In reply to [Sailaja](https://verificationacademy.com/forums/t/confusion-in-fork-join-disable-fork/28662/11):_

No.

> The **disable fork** statements kills the children of the currently running thread. (i.e the thread executing the **disable fork** statement).

Your **ff2** thread is a single **forever** statement. You can use the **break** statement instead to get out of the forever loop.

---

_[View the full topic](https://verificationacademy.com/forums/t/confusion-in-fork-join-disable-fork/28662)._
