You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in the file py_interface.py, both Ns3AIDL and Ns3AIRL define ReleaseAndRollback(). From my understanding, this enables unlocking the memory without yielding control to the other side (useful for sequential read accesses on the python side, just like you could use GetCompleted() on the C++ side for a release with rollback). However, the __exit__() method of these two classes uses Release() only.
Would it make sense to extend the context manager implementation by allowing to release with rollback, e.g. to enable sequential read accesses on the same side? So far I have implemented a simple workaround via a method SetRollbackOnRelease() on my local branch (see here).
The text was updated successfully, but these errors were encountered:
Hey there,
in the file
py_interface.py
, bothNs3AIDL
andNs3AIRL
defineReleaseAndRollback()
. From my understanding, this enables unlocking the memory without yielding control to the other side (useful for sequential read accesses on the python side, just like you could useGetCompleted()
on the C++ side for a release with rollback). However, the__exit__()
method of these two classes usesRelease()
only.Would it make sense to extend the context manager implementation by allowing to release with rollback, e.g. to enable sequential read accesses on the same side? So far I have implemented a simple workaround via a method
SetRollbackOnRelease()
on my local branch (see here).The text was updated successfully, but these errors were encountered: