aupdate: implicitly call _write_swap() if it wasn't called explicitly

This commit is contained in:
Lennart Poettering 2009-08-16 02:02:51 +02:00
parent 8dd0d871a7
commit 01e4b61a91
2 changed files with 12 additions and 0 deletions

View file

@ -93,6 +93,10 @@ unsigned pa_aupdate_write_swap(pa_aupdate *a);
* pa_update_write_end(a)
* }
*
* In some cases keeping both structures up-to-date might not be
* necessary, since they are fully rebuilt on each iteration
* anyway. In that case you may leave the _write_swap() call out, it
* will then be done implicitly in the _write_end() invocation.
*/
#endif