Giter Club home page Giter Club logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
I can take a stab at a patch later in the week if it helps.

Cheers.

Original comment by [email protected] on 15 Sep 2010 at 12:18

from credis.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
Ooops I missed that lots of people ask me if credis is thread safe and I've 
told them yes, it should be... I reused an old snippet when starting on Credis 
so I will gladly accept a patch that fixes this issue.

cheers, 
Jonas

Original comment by [email protected] on 15 Sep 2010 at 7:41

  • Changed state: Accepted

from credis.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
Question--

gethostbyname() is only called in the event that inet_aton(host, &sa.sin_addr) 
fails.  On my system, it doesn't fail, so I haven't had any issues with thread 
safety.  My question is:  When would inet_aton fail that gethostbyname() would 
succeed?

Cheers,

Dean

Original comment by [email protected] on 15 Sep 2010 at 9:58

from credis.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
This should do it for the non-Win build.  I did not check the Win side, but I 
don't think I broke anything.  Shout if I messed up--still learning the ropes...

Cheers,

Dean

Original comment by [email protected] on 18 Sep 2010 at 1:14

Attachments:

from credis.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024
thanks, I have taken your patch with minor changes

Original comment by [email protected] on 21 Sep 2010 at 12:34

from credis.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 24, 2024

Original comment by [email protected] on 21 Sep 2010 at 12:34

  • Changed state: Fixed

from credis.

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.