[PATCH 03/11] Lift the OSTC3 INIT out of open

Jef Driesen jef at libdivecomputer.org
Fri Dec 19 08:00:28 PST 2014


On 2014-12-17 22:33, Anton Lundin wrote:
> On 17 December, 2014 - Jef Driesen wrote:
>> Maybe it's more intuitive to rename NONE to OPEN and REBOOTING to 
>> CLOSED?
>> 
> 
> I'd say REBOOTING is better than CLOSED, because CLOSED might be
> confusing because the file descriptor is still open, and the only 
> viable
> action is to close the device.

The state is not about the file descriptor, but I get your point. I'll 
keep REBOOTING. Maybe TERMINATED is even a more descriptive name than 
REBOOTING?

Jef



More information about the devel mailing list