3 ms·
Thanks for the detailed answer! So basically if I’m used to threads as a general cross-platform concept in higher level languages, I’m probably relating to pth
by josteink 8y ago
Thanks for the detailed answer!
So basically if I’m used to threads as a general cross-platform concept in higher level languages, I’m probably relating to pthreads?
- jstimpfle 8y agoI suppose it depends on what your concept of threads is. If you're designing a complex system, you're more likely to look at what platforms you must support, and then make up your own (less abstract) notion of threads such that it can be implemented on these systems and that it lets you take more advantage of the capabilities of these systems. I'd be surprised for example if Postgres used pthreads and not its own abstraction, supported by platform-specific implementations.