Closed ArtemConstantinov closed 1 year ago
These two mode looks the same to me, I prefer "soft" meaning reserve if it is no owner
In what way they are the same? if in one condition we are not reserving if resource is reserved by someone else but in other condition we forcefully relinquish...
now I understand, no further questions.
I remember we discussed that think before as we will get more understanding of API layout we be able to give proper naming to the functions. What do you think if in stead of
reserve_if_not()
we can call them justreserve(mode=<Soft> | <Strict>)
where mode parameter define of what reservation strategy to apply