Similar to add_full, but also names the SocketSource as name
.
You might find e_named_timeout_add
or e_named_timeout_add_full
more convenient. Those macros name the
SocketSource implicitly.
priority |
the priority of the timeout source, typically in the range between DEFAULT and HIGH |
interval |
the time between calls to the function, in milliseconds (1/1000ths of a second) |
name |
debug name for the source |
function |
function to call |
data |
data to pass to |
notify |
function to call when the timeout is removed, or |
the ID (greather than 0) of the event source |