customized locking

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mangini

    customized locking

    I've created a locking system for a table document because neither the
    optimistic and pessimitic block are straight for me.
    The first access client that read the document insert his name into an
    attribute of the table document.
    Other access clients when when try to view the document read the attribute
    and understand that they can only read and not modify the document.
    Currently if the document is blocked the access clients blocked have to try
    to read again the document, they are not awaked.
    I think that I can try to read periodically a document blocked, but it can
    be too much onerous.
    Does it exists a better solution?




Working...