Oh, ok, thanks!
Exactly i'm not making any implementation in C, just preparing Memcached cache adapter for incubator to propose their implementation in C by Phalcon developers :)
But i have to extend original classes.. so i need to know how do they work inside. Thanks a lot!
It's quite impossible to use memcache adapter with sessions.. it has no locks :/
Yup, i know that it is possible to define just some settings in php.ini, thanks. But i need some more control on sessions mechanism, for example - to have ability to prolong session without SID change, that's why i need Memcached cache adapter and Memcached session adapter. Moreover, memcache extension is quite outdated, i can't understand why frameworks usually implements memcache instead of memcached.
P.S. @Phalcon - thx very much for examples in incubator, they are very useful.