# A question about disable ... fork

**URL:** <https://verificationacademy.com/forums/t/a-question-about-disable-fork/30778>\
**Category:** UVM\
**Tags:** UVM, thread\
**Created:** [June 25, 2015, 6:35am UTC](https://verificationacademy.com/forums/t/a-question-about-disable-fork/30778 "2015-06-25T06:35:31Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![caowangyang](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/caowangyang/32/2164_2.png) [@caowangyang](https://verificationacademy.com/forums/u/caowangyang)\
**Post date:** [June 26, 2015, 6:18am UTC](https://verificationacademy.com/forums/t/a-question-about-disable-fork/30778/3 "2015-06-26T06:18:51Z")

</div>

_In reply to [Tudor Timi](https://verificationacademy.com/forums/t/a-question-about-disable-fork/30778/2):_

Hi, Tim,

Thanks for your reply, a quick question is that, what happened if we are trying to terminates threads which all surrounded via fork … join\_none ?

For example :

```verilog

fork 
  fork
    task1
  join_none
 
  for loop begin
    fork
      task2
    join_none
  for loop end     
                                                                                                                                                          
  fork
    task3
  join_none join // how about if we change this to join_none ?
 
@reset event 
disable fork  

```

Can disable fork still kill all of threads above ? Besides, how about if we change the final join to join\_none ?

Thanks,

WangYang

---

_[View the full topic](https://verificationacademy.com/forums/t/a-question-about-disable-fork/30778)._
