X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=man%2Fsd_event_source_set_priority.xml;h=d1cb416dcb220afcc87deff1c17fb9fb46443a6d;hb=a6c57e74c527dcfc60edecec029146d961b4cdb3;hp=60fe7e3b2bac40f6b2a6e6f6fffedd3cfe94b4d1;hpb=4d09e1c8bab1d684172b1f277f3213825b30d2d9;p=thirdparty%2Fsystemd.git diff --git a/man/sd_event_source_set_priority.xml b/man/sd_event_source_set_priority.xml index 60fe7e3b2ba..d1cb416dcb2 100644 --- a/man/sd_event_source_set_priority.xml +++ b/man/sd_event_source_set_priority.xml @@ -1,29 +1,13 @@ - - - - + + + sd_event_source_set_priority systemd - - - - Developer - Lennart - Poettering - lennart@poettering.net - - @@ -108,6 +92,12 @@ particular event sources do not starve or dominate the event loop. + The priority of event sources may be changed at any time of their lifetime, with the exception of inotify + event sources (i.e. those created with + sd_event_add_inotify3) whose + priority may only be changed in the time between their initial creation and the first subsequent event loop + iteration. + sd_event_source_get_priority() may be used to query the current priority assigned to the event source object source. @@ -116,48 +106,45 @@ Return Value - On success, - sd_event_source_set_priority() and - sd_event_source_get_priority() return a - non-negative integer. On failure, they return a negative - errno-style error code. - + On success, sd_event_source_set_priority() and + sd_event_source_get_priority() return a non-negative integer. On failure, they + return a negative errno-style error code. - - Errors + + Errors - Returned errors may indicate the following problems: + Returned errors may indicate the following problems: - - - -EINVAL + + + -EINVAL - source is not a valid - pointer to an sd_event_source - object. - + source is not a valid pointer to an + sd_event_source object. + - - -ENOMEM + + -ENOMEM - Not enough memory. - + Not enough memory. + - - -ESTALE + + -ESTALE - The event loop is already terminated. + The event loop is already terminated. - + - - -ECHILD + + -ECHILD - The event loop has been created in a different process. + The event loop has been created in a different process. - + - + + @@ -169,8 +156,9 @@ sd-event3, sd_event_add_io3, sd_event_add_time3, - sd_event_add_child3, sd_event_add_signal3, + sd_event_add_child3, + sd_event_add_inotify3, sd_event_add_defer3