Giter VIP home page Giter VIP logo

Comments (4)

manugoyal avatar manugoyal commented on August 16, 2024

Hi @DJuego,

The reason you're getting a deadlock is that whenever you create a locked table, the object takes all the locks on the table, so no operations on the original table object will work. Currently the locked table only supports spawning iterators, but we could certainly add the functionality to do all the normal table operations (like find, insert, erase, etc) on the locked table.

For now, unfortunately, there's no good work around for this that I can think of, since unlocking and re-locking the table to erase an element would be pretty inefficient. I'll try to add the functionality you're looking for soon.

from libcuckoo.

DJuego avatar DJuego commented on August 16, 2024

Thanks for your swift answer!

you're getting a deadlock is that whenever you create a locked table, the object takes all the locks on
the table, so no operations on the original table object will work.

Yes. I suspected it. :-) However; i was unable to find the erase operation in the locked table. I was pretty confused. That's why I believed that there was an alternative approach... Your answer comforts me somehow, :-)

I'll try to add the functionality you're looking for soon.

Thanks! I will be awaiting eagerly. :-P You can be sure! :-)

DJuego

from libcuckoo.

DJuego avatar DJuego commented on August 16, 2024

I only wanted to go on record that my intense interest in this feature survives 💯 :-P Happy New Year and thanks for the upgrades! 🥇

DJuego

from libcuckoo.

manugoyal avatar manugoyal commented on August 16, 2024

This should be doable on future-master now.

from libcuckoo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.