silc_schedule_task_del_by_fd

SYNOPSIS

    SilcBool silc_schedule_task_del_by_fd(SilcSchedule schedule,
                                          SilcUInt32 fd);

DESCRIPTION

Deletes a task from the scheduler by the specified `fd'. Returns FALSE if such fd task does not exist.

It is safe to call this function in any place. Tasks may be removed in task callbacks (including in the task's own task callback) and in multi-threaded environment in other threads as well.

If `schedule' is NULL this will call silc_schedule_get_global to try to get global scheduler.