Menu

Create different mdb databases in separate thread.

Help
2018-07-25
2018-07-28
  • Artemi Tsinkel

    Artemi Tsinkel - 2018-07-25

    Hi.
    I have to create several mdb files. I use own thread for work with 1 mdb file. But I noticed, that threads blocked each other many times. As I can see the reason - class UcanaccessConnection use sync by class methods. And if one thread commit something, others waits even if works with different files. is it possible to avoid blocking problems for differend databases?

     
  • Marco Amadei

    Marco Amadei - 2018-07-28

    Currently not. But you're right I may sync on a single file object. I didn't think of this situation that is very unlikely, you must have a number of concurrent massive transations on multiple files. Maybe next version.

     

    Last edit: Marco Amadei 2018-07-28

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.