Giter Club home page Giter Club logo

Comments (3)

jtsiomb avatar jtsiomb commented on June 11, 2024

On Thu, Jul 02, 2015 at 07:32:16AM -0700, Vinícius dos Santos Oliveira wrote:

Why aren't you using <stdint.h> when makes sense?

A few places where it would make sense are:

I can't find the standard at the moment, but I think that's how the
xtime structure was defined. I was working from a draft of the C11
standard actually, so I don't know if things have changed afterwards.
Somebody told me they completely removed the xtime structure in the
final version, but I never revisited this to update it.

In the second instance, I don't see what would be gained by casting to
intptr_t instead of long to justify including another header file just
for that.

John Tsiombikas
http://nuclear.mutantstargoat.com/

from c11threads.

vinipsmaker avatar vinipsmaker commented on June 11, 2024

In the second instance, I don't see what would be gained by casting to intptr_t instead of long to justify including another header file just for that.

Better support for multiple architectures?

And I've only looked at the beginning of the implementation file. I believe more examples could be found if I continued to read the code (which is not that large).

from c11threads.

jtsiomb avatar jtsiomb commented on June 11, 2024

I'm sorry I don't see how your proposed change would help support more architectures than the existing code. If you find any actual problems after looking at the rest of the code, feel free to reopen this issue, preferably followed by a pull request or diff of changes, to fix any such issues.

from c11threads.

Related Issues (14)

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.