[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: testing gcrypt thread-safety
From: |
Simon Josefsson |
Subject: |
Re: testing gcrypt thread-safety |
Date: |
Thu, 29 Oct 2009 08:50:50 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) |
Taken from the libgcrypt list:
Daniel Kahn Gillmor <address@hidden> writes:
> I don't see any code in the tests/ directory which exercises this stuff,
> but i'd be willing to write a test if anyone has a particular feature
> that they think would be worth testing against threadsafe initialization.
It would be useful to have a threaded self-test in GnuTLS too -- if you
have a minimal test case that initializes gcrypt and does some gcrypt
testing in two (or more) parallel threads, it would be great if you
could contribute that to GnuTLS too, and I can adapt it to do TLS
sessions in each thread.
I'm thinking it would be nice to a have a threaded version of
tests/mini.c which does in-process TLS negotiations. It could set up
two threads that talked to each other with its own push/pull functions
protected by a mutex.
/Simon
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: testing gcrypt thread-safety,
Simon Josefsson <=