3 ms·
You cannot generalize scheduling primitives across UNIX implementations. To quote the FreeBSD manual: "Traditional UNIX® does not define any API nor implementa
by arghwhat 9y ago
You cannot generalize scheduling primitives across UNIX implementations.
To quote the FreeBSD manual:
"Traditional UNIX® does not define any API nor implementation for threading, while POSIX® defines its threading API but the implementation is undefined."
macOS was at least temporarily considered a true UNIX, and the scheduling primitive there is a Mach task. I frankly don't remember much about FreeBSD anymore, but I would assume that the unit of scheduling there is somewhat identical to that of Linux... Just implemented nicer.
- pjmlp 9y agoThat is the whole point, Linux != UNIX, yet every time someone discuss some UNIX feature, there comes a Linux example as if Linux would the be representative of how UNIX works.
- arghwhat 9y agoThat's not what happened here. In this case, someone discussed Windows, Linux and macOS features and implementation details, and someone (you) came around and started talking about UNIX. ;)