Liste des Groupes | Revenir à cl misc |
On 17/08/2024 11:01, Muttley@dastardlyhq.com wrote:On Fri, 16 Aug 2024 15:02:20 -0000 (UTC)>
kalevi@kolttonen.fi (Kalevi Kolttonen) gabbled:So it is indeed a vague question of what belongs in given programming
languages.
Indeed. And this gives rise to inconsistency. Why is threading now considereda core part of C++ but multi process isn't? Perhaps because Windows ishopelessat the latter in user space but it could just be personal preference withintheC++ steering committee, who knows.>
No, it is because of what the term "program" usually means, along with
the terms "process" and "thread" (at the OS level). With C++, you write
"programs", and each process is a running program. Like most languages,
C++ does not cover what happens outside the program - that's part of the
OS specification, or specifications for other programs or other parts of
the complete system. But threads are /within/ the program, and thus
covered (to at least some extent) by the language used to write the program.
Les messages affichés proviennent d'usenet.