Re: [PATCH] Cygwin 1.2.25+ support via gix in gwlib/conn.c (openssl thread callbacks)
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | tolj.org system architecture |
| Message-ID | <[email protected]> |
Alexander Malysh schrieb:
>
> I don't like the idea to use pthread_mutex directly instaed of our
> wrapper. If this change make a panic go away then we doing something
> wrong in our wrapper and wrapper should be fixed.
> Only and only when it is not fixable (I don't think so because apr
> (apache) uses wrapper), we should commit this patch.
the patch is considered as "proof of concept", that the direct pthreads hooks
for the openssl callback do work. I agree that it would make more sense, and is
cleaner from the architecture concept to haver our own mutex structs inside.
I'll need to dig deeper to the cause of the "managed to lock mutex twice" issue
on Cygwin.
Stipe
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 DÃŒsseldorf, NRW, Germany
tolj.org system architecture Kannel Software Foundation (KSF)
http://www.tolj.org/ http://www.kannel.org/
mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------