Modifies a pointer to a BufferList to point to a different BufferList.
The modification is done atomically (so this is useful for ensuring thread safety in some cases), and the reference counts are updated appropriately (the old buffer list is unreffed, the new is reffed).
Either new_list
or the BufferList pointed to by old_list
may be
null
.
old_list |
pointer to a pointer to a BufferList to be replaced. |
new_list |
pointer to a BufferList that will replace the buffer list pointed to by |
|