openbase / bco.dal

Domotic Abstraction Layer
Other
1 stars 2 forks source link

Resource allocation interval questions #39

Closed pLeminoq closed 7 years ago

pLeminoq commented 7 years ago

Background:

I want to change the state of a unit and therefore allocate a resource. I don't care how long the state of the unit will stay this way. So, I think the interval for allocating the resource should be rather short and immediate. But since the interval is not defined relative but absolute it could happen that I miss it. Furthermore I don't want to define a long interval with the first policy because the first block in the interval could be too long and I could block other allocation attempts before I release the resource. My questions are: