Files
systemd/man
Lennart Poettering 05a98afd3e core: add Ref()/Unref() bus calls for units
This adds two (privileged) bus calls Ref() and Unref() to the Unit interface.
The two calls may be used by clients to pin a unit into memory, so that various
runtime properties aren't flushed out by the automatic GC. This is necessary
to permit clients to race-freely acquire runtime results (such as process exit
status/code or accumulated CPU time) on successful service termination.

Ref() and Unref() are fully recursive, hence act like the usual reference
counting concept in C. Taking a reference is a privileged operation, as this
allows pinning units into memory which consumes resources.

Transient units may also gain a reference at the time of creation, via the new
AddRef property (that is only defined for transient units at the time of
creation).
2016-08-22 16:14:21 +02:00
..
2016-05-17 20:43:27 -04:00
2016-05-17 20:43:27 -04:00
2016-01-15 12:48:01 +01:00
2016-08-19 11:04:13 +02:00
2016-01-12 22:10:41 +00:00
2016-07-04 17:10:23 +02:00
2015-12-26 20:37:17 +01:00
2015-12-26 20:37:17 +01:00
2015-12-26 20:37:17 +01:00
2015-12-26 20:37:17 +01:00
2015-12-26 20:37:17 +01:00
2015-12-26 20:37:17 +01:00
2016-08-22 14:17:24 +02:00
2015-12-26 20:37:17 +01:00
2016-02-23 13:47:30 -05:00
2016-08-19 00:37:25 +02:00