updated thread handling:

- threads are no longer pooled (this makes naming threads difficult)
- threads are now named by their causing event, which improves logging

updated calls to thread.sleep: those are now provided by new class Delayed Execution
This commit is contained in:
Stephan Richter
2021-02-28 13:03:21 +01:00
parent cabab80b5c
commit b951b948e5
47 changed files with 293 additions and 260 deletions

View File

@@ -20,7 +20,7 @@ public class TriggerContact extends Action {
private Contact contact = null;
@Override
public boolean fire(Context context) {
public boolean fire(Context context,Object cause) {
if (isSet(contact)) return contact.trigger(200);
return false;
}