Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - Use existing functions mtx_lock() and mtx_unlock(). | pjd | 2006-09-27 | 1 | -8/+9 |
| | | | | | | | | | | | | | | | | | | | - Change variable name to 'error', as this is what is mostly used for functions that return an error. - Add mutex(9) to the SEE ALSO section. - Bump the date. I don't really like the example code. I'd prefer symmetry where possible, eg. mtx_lock(&example_lock); error = example(NULL, EXAMPLE_ONE); mtx_unlock(&example_lock); if (error != 0) return (error); But I'll leave it as it is for now. Reviewed by: simon | ||||
* | Move the LOCKING section to before the EXAMPLES section. | jkoshy | 2005-01-15 | 1 | -18/+22 |
| | | | | | | Make example locking calls in the EXAMPLES section. Reviewed by: keramida | ||||
* | A few more mdoc fixes I missed in the suggestions of Ruslan. | keramida | 2005-01-12 | 1 | -2/+2 |
| | |||||
* | Add a sample manpage for section 9. | keramida | 2005-01-12 | 1 | -0/+338 |
Suggested by: simon Reviewed by: ru |