Method _Stdio.Fd()->set_backend()

Method set_backend

void set_backend(Pike.Backend backend)


Set the backend used for the callbacks.


The backend keeps a reference to this object only when it is in callback mode. So if this object hasn't got any active callbacks and it runs out of other references, it will still be destructed quickly (after closing, if necessary).

Also, this object does not keep a reference to the backend.

See also

query_backend, set_nonblocking, set_read_callback, set_write_callback, set_fs_event_callback