how to prevent QTableModel from updating table depending on some condition

i have a mysql tables that uses lock-write mechanism. the lock might go for too long (we're talking about 1-2 minutes here).

i had to make a check if the table is in use or not before the update is done (using beforeUpdate signal)

but after checking and returning that my table is in use , system hang until the other user unlocks the table . is it possible to prevent data from updating if the flag returned that the table is in use., im searching for a better way to handle this i don't want to re-implement the setData method since doing this is a pain. or if you have a good re-implementation for it . it will be very helpfull. thanks in advance


Python threading: You can create threads that wait until the table is finished and it should be negligible in system resources, also your end user wont have to wait for the system to respond to continue with a different task.

Need Your Help

Vuforia Multi Camera

unity3d augmented-reality vuforia

I have a setup where I want to reveal some parts of the AR scene so my plan was to have the regular AR camera and then add a second camera as a child to that with a plane and a depth mask.

Deploying MPI application on Windows Azure

.net c azure cloud mpi

There is an existing MPI scientific application written in C (for linux) that I would like to run on Windows Azure. Is that possible?