hi, ive started using poco with OGE now as i am gradually refactoring it.
Theres just a few things ive noticed/thought of that i thought i'd mention, some of which i might be able to contribute im not sure.
- Retrieve the reference count from a SharedPtr. I looked at the code, i dont think you can currently do this, correct me if im wrong. I think this will be needed a few times, such as when unloading a plugin, checking that theres no SharedPtrs that are using it, for example, i have a virtual file system which will allow plugins of new types (compress archives, remote files etc).
I think this will be easy to add, i could do it, is this a change that you will allow? How do i go about submitting my changes?
- WeakPtr. ive seen another post here requesting them. i might have a go at implementing them if you arent planning to add them? Any advise on implementing them?
- Lock/wait-free classes. Instead of using FastMutex, code that accesses small amounts of data very quickly would benefit from not using heavy system calls. Code like updating the reference count on a SharedPtr for example has alot of overhead for updating the count. Ive tried researching this, but i find very limited information on the net. Does anyone have any information or links about this? could this be implemented for poco? The main difficulty ive found is knowing if something will work on multiprocessor computers, such as various x86 instructions etc
thanks
Chris





