[Dillo-dev]How does CCC handle the parallelism of IO?
In my opinion, the CCC is a dynamic doubly linked list with function pointers. And all the CCC functions in the chain are called serially. How does CCC handle the parallelism of IO? And Why do you consider it as "pseudo-thread"? I want to dive in it and thanks for reply.
On Tue, Jan 04, 2005 at 09:02:23PM +0800, uniharmony@gmail.com wrote: Hi, Sorry for the delay...
In my opinion, the CCC is a dynamic doubly linked list with function pointers. And all the CCC functions in the chain are called serially.
Yes.
How does CCC handle the parallelism of IO?
Imagine several open file descriptors, each one active. A CCC chain was constructed for each one, so there are as many CCCs as FDs.
And Why do you consider it as "pseudo-thread"?
When a FD has data, the respective CCC receives the data and "awakes" the streamed processing of the data. When the chunk is done, it waits for the next one. As each one of this processes takes a slim timeslice, there's no blocking of the other FDs in the active set.
I want to dive in it and thanks for reply.
Good. What do you want to do? This is a complex part. BTW, what's your name. -- Cheers Jorge.-
participants (2)
-
Jorge Arellano Cid
-
uniharmony@gmail.com