GithubHelp home page GithubHelp logo

Comments (4)

gdt avatar gdt commented on June 23, 2024

In posix-clocks-common, (define clockid-t int32) but clockid_t on NetBSD is int, as far as I can tell from headers. My impression is that POSIX tends to require these types to be "an integral type". On most CPU architectures, that works out to be the same, but e.g. alpha is ILP64. This is just an aside; I don't think it's causing the affinity trouble.

/usr/include/sys/types.h:typedef        _BSD_CLOCKID_T_         clockid_t;
/usr/include/sys/common_ansi.h:#define  _BSD_CLOCKID_T_         int             /* clockid_t */

from fibers.

gdt avatar gdt commented on June 23, 2024

posix-clocks-common.scm analysis:

                NetBSD          fibers
clockid_t       int             int32
time_t          int64_t         long
pid_t           int32_t         int
pthread_t       void*           unsigned long
s_timespec      time_t/long     time_t/long

NetBSD pthread_t is really a pointer to struct.

from fibers.

aconchillo avatar aconchillo commented on June 23, 2024

@gdt I believe we should be OK closing this issue now, right?

from fibers.

gdt avatar gdt commented on June 23, 2024

I think it's ok, and things have certainly changed. So I will hit close and start over if I find anything else. Thanks for all the fixes

from fibers.

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.