---
name: "try_to_del_timer_sync"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/try_to_del_timer_sync"
---

# try\_to\_del\_timer\_sync(9)

Try to deactivate a timer

## NAME

try\_to\_del\_timer\_sync - Try to deactivate a timer

## SYNOPSIS

**int try\_to\_del\_timer\_sync(struct timer\_list \*** *timer***);**

## ARGUMENTS

*timer*

timer do del

## DESCRIPTION

This function tries to deactivate a timer. Upon successful (ret \>= 0) exit the timer is not queued and the handler is not running on any CPU.

## COPYRIGHT
