Thierry, > Is it possible to execute in a same time the compressor and > decompressor with the same profile e.g. IPv4 ? > > I have troubleshooting...
If by "in a same time" you mean "sequentially in the same program", then the answer is yes. If by "in a same time" you mean "in parallel by 2 different threads in the same program", then the answer is "it depends": - with the old API, it won't work well if you use feedback piggybacking (the decompressor updates the compressor without any protection). - with the new API (ready in 1.7.x or greater), it should work in all cases (if you add the correct protections such as mutexes in your program when needed). The new API avoids any direct communication between compressor and decompressor, so that developers may control how the communication is performed (add proper locking between threads for example). Functions that are part of the old API are marked as deprecated in the doxygen documentation and in the source code. Build your code with -Wdeprecated to be warned when you use the old API. Regards, Didier
signature.asc
Description: PGP signature
_______________________________________________ Mailing list: https://launchpad.net/~rohc Post to : [email protected] Unsubscribe : https://launchpad.net/~rohc More help : https://help.launchpad.net/ListHelp

