[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] xenstore transactions
Instead of having two handles for xenstore functions, xs_handle and xs_transaction_handle, wouldn't it be easier to just put the xs_transaction_handle in the xs_handle? If users wanted to make a single xs_read or xs_write, they wouldn't have to open xs_handle, open xs_transaction_handle, read or write, close xs_transaction, and close xs_handle. The transaction could be done for them. If, however, they want to a multi command transaction, they still use xs_transaction_start and xs_transaction_end. These functions would open the xs_transaction_handle and assign it to the xs_handle. The xs_read and other functions would check to see if that transaction handle exists. If it doesn't, they'd open and close it. Just a thought..... Thanks, Dan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |