# OpenHAB Rule Threads

**URL:** <https://community.openhab.org/t/openhab-rule-threads/94796>\
**Category:** Scripts & Rules\
**Tags:** openhab2, threads\
**Created:** [March 18, 2020, 5:03pm UTC](https://community.openhab.org/t/openhab-rule-threads/94796 "2020-03-18T17:03:32Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![open123](https://community.openhab.org/user_avatar/community.openhab.org/open123/32/67519_2.png) [@open123](https://community.openhab.org/u/open123)\
**Post date:** [March 19, 2020, 2:18am UTC](https://community.openhab.org/t/openhab-rule-threads/94796/10 "2020-03-19T02:18:53Z")

</div>

So if I use the same design as used in [Why have my Rules stopped running? Why Thread::sleep is a bad idea](https://community.openhab.org/t/why-have-my-rules-stopped-running-why-thread-sleep-is-a-bad-idea/47695) it doesn’t matter the rule engine the same design problem will occur?

> [@5iver](#):
>
> Also, be aware that the sleep/thread limitations only apply to the old rule engine.

I just took from this reply that using the above design in the old rule engine causes a problem but using the same design in the new rule engine will not cause a problem as there has been a fix. I am just a bit confused now to be honest by what you meant by this. Has something actually changed or can this problem still occur by design?

---

_[View the full topic](https://community.openhab.org/t/openhab-rule-threads/94796)._
