We will need to synchronize access to our queues once we start adding asynchronous commits. Luckily there are only 4 functions that need synchronized access so i think a small wrapper for queue objects with a lock should suffice. Its simple and stable.
We will need to synchronize access to our queues once we start adding asynchronous commits. Luckily there are only 4 functions that need synchronized access so i think a small wrapper for queue objects with a lock should suffice. Its simple and stable.