mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
Add comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@769 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -134,6 +134,10 @@ int timer_release(FAR struct posix_timer_s *timer)
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
/* Release one reference to timer. Don't delete the timer until the count
|
||||
* would decrement to zero.
|
||||
*/
|
||||
|
||||
if (timer->pt_crefs > 1)
|
||||
{
|
||||
timer->pt_crefs--;
|
||||
|
||||
Reference in New Issue
Block a user