# cmd_wait_for_remove

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-wait-for.c#L105
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-cmd-wait-for-c-cmd_wait_for_remove/

```c
static void cmd_wait_for_remove(struct wait_channel *)
```

## Parameters

- `wc` (`struct wait_channel *`)

## Called by

- [`cmd_wait_for_flush`](/en/tmux/3.7c/reference/c-function-cmd_wait_for_flush/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-wait-for.c#L262)
- [`cmd_wait_for_signal`](/en/tmux/3.7c/reference/c-function-cmd-wait-for-c-cmd_wait_for_signal/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-wait-for.c#L162)
- [`cmd_wait_for_unlock`](/en/tmux/3.7c/reference/c-function-cmd-wait-for-c-cmd_wait_for_unlock/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-wait-for.c#L237)
- [`cmd_wait_for_wait`](/en/tmux/3.7c/reference/c-function-cmd-wait-for-c-cmd_wait_for_wait/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-wait-for.c#L183)

## Calls

- [`log_debug`](/en/tmux/3.7c/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-wait-for.c#L112)

## Referenced declarations

- [`wait_channel.locked`](/en/tmux/3.7c/reference/c-struct-wait_channel-locked/) (attribute)
- [`wait_channel.name`](/en/tmux/3.7c/reference/c-struct-wait_channel-name/) (attribute)
- [`wait_channel`](/en/tmux/3.7c/reference/c-struct-wait_channel/) (struct)
- [`wait_channel.waiters`](/en/tmux/3.7c/reference/c-struct-wait_channel-waiters/) (attribute)
- [`wait_channel.woken`](/en/tmux/3.7c/reference/c-struct-wait_channel-woken/) (attribute)
