Hi, I'm looking for some threading framework to avoid writing it from scratches. Especially the tasks queuing and synchronization are what I need. I know OmniThreadLibrary which is great but is not compatible with D7. Any recommendations?
So you want to stay with Delphi 7, and you want a good thread library, but don't want to write it from scratch.
One day you will upgrade, I'm sure. So why go for a poor threading library that you'll need to change when you do.
My recommendation would be to take OmniThreadLibrary, and try to port it to work with Delphi 7. Then you'll have an upgrade path.
Otherwise, try one of the recommendations in: How Do I Choose Between the Various Ways to do Threading in Delphi?
A threading framework could possibly save you months of work in the long run, so depending on how important it is for you to have one, maybe you can use this as a reason to upgrade. And anyone who suggests that TThread and other Windows synchronisation primitives are all you need obviously has not written much threaded code. I estimate that I have spent at least 3-6 months just to develop my own threading framework to make things easier, and it has easily "paid" for itself.