mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-30 17:09:41 -04:00
Fix comment typos
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
f25d831123
commit
8c6d332c44
@ -59,9 +59,9 @@ static void threading_mutex_init_pthread(mbedtls_threading_mutex_t *mutex)
|
|||||||
/* One problem here is that calling lock on a pthread mutex without first
|
/* One problem here is that calling lock on a pthread mutex without first
|
||||||
* having initialised it is undefined behaviour. Obviously we cannot check
|
* having initialised it is undefined behaviour. Obviously we cannot check
|
||||||
* this here in a thread safe manner without a significant performance
|
* this here in a thread safe manner without a significant performance
|
||||||
* hit, so state transitions are checked in tests only via the is_valid
|
* hit, so state transitions are checked in tests only via the state
|
||||||
* varaible. Please make sure any new mutex that gets added is exercised in
|
* variable. Please make sure any new mutex that gets added is exercised in
|
||||||
* tests; see tests/src/threading_helpers for more details. */
|
* tests; see tests/src/threading_helpers.c for more details. */
|
||||||
(void) pthread_mutex_init(&mutex->mutex, NULL);
|
(void) pthread_mutex_init(&mutex->mutex, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user