Hi Tino,

Tino Lange wrote:
MINOR: xinit() / xdestroy() cannot be overloaded for pthread_mutex_t* const and and pthread_cond_t* const - this is ambiguos under MINGW as both lead to void ** finally.
-> Please change to using xinit_mutex(), xinit_cond() and xdestroy_mutex
(), xdestroy_cond() in your codebase. Then MINGW will compile fine.

This can be done, but:


MAJOR: there is no pread() / pwrite(). Is it possible to write code that doesn't use those two functions?

Probably not without creating a serialization point in plzip (the file position). The point of plzip is parallel performance, so platforms where this can't be portably achieved should perhaps limit themselves to lzip.

BTW, the plzip binary available here[1] uses pread/pwrite, so I guess it does already exist a way of compiling it for Windows.

[1] http://download.savannah.gnu.org/releases/lzip/plzip/plzip-1.1-w.zip


Best regards,
Antonio.

_______________________________________________
Lzip-bug mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lzip-bug

Reply via email to