Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | file: Use 'long' to represent the parsed LOCK TIMEOUT value | Ruslan Baratov | 2014-12-05 | 1 | -1/+1 |
| | | | | | | | | | Convert the StringToInt helper into a StringToLong helper with a 'long' result type. This will make the helper more useful to other callers that want to use strtol. While at it, also check errno after calling strtol in case the conversion fails with a range error. | ||||
* | file: Add LOCK subcommand to do file and directory locking | Ruslan Baratov | 2014-12-03 | 1 | -0/+126 |
Provide options to fail without blocking or to block up to a timeout. Provide options to specify the scope containing the lock so it can be released automatically at the end of a function, file, or process. Extend the RunCMake.file test with cases covering the file(LOCK) command usage and error cases. |