Liste des Groupes | Revenir à cu shell |
On Sun, 18 Aug 2024 12:19:10 +0200You seems do not understand that spawning a process is not an issue of interprocess communications. It is synchronization, e.g. events, mutexes which is.
"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> boringly babbled:On 2024-08-18 10:30, Muttley@dastardlyhq.com wrote:Most (all?) versions of unix use copy-on-write when forking
>The windows process API is crippled which is why threading is the main>
parallel processing method in Windows and has been since 3.0.
Threading is the main method because of its performance in a tight
coupled application. Crossing the process borders is very expensive.
Also shared memory is pretty cheap too.Again, you need to synchronize in order to access shared objects, not to mention elaboration of such objects, e.g. calling constructors and destructors. With threads there is a linker support in most languages. With processes you are on your own.
No idea what the pages of all that crap is.Hmm, if you ever dealt with networking applications you should have had some idea...
Windows sockets are not integers ,Windows did many things wrong, but accessing file descriptors by numbers is beyond even Windows. In Windows a file is an OS object. You access it getting an opaque handle to. Note that a handle can be marshaled from one process to another. Try that with process-local numbers!
they can't be multiplexed with fileOf course it can. Windows overlapped I/O supports sockets.
descriptors, pipes etc in a single call.
Like a graphic context or a mutex. Things that leak if the process dies unless the OS takes care of.Like what? Why does the OS need to manage "objects"?fork() copies the entire process space. No idea what you mean by "system>
objects". Must be some windows thing.
Objects managed by the OS.
I'm not talking about now, I was talking about when NT came out. Learn toHonestly I do not know what you are talking about. The option to change the scheduling interval existed in Windows NT.
read.
Les messages affichés proviennent d'usenet.