Home
last modified time | relevance | path

Searched refs:threads (Results 1 – 12 of 12) sorted by relevance

/lib/mbedtls/external/mbedtls/programs/ssl/
A Dssl_pthread_server.c95 static pthread_info_t threads[MAX_NUM_THREADS]; variable
247 if (threads[i].active == 0) { in thread_create()
251 if (threads[i].data.thread_complete == 1) { in thread_create()
253 pthread_join(threads[i].thread, NULL); in thread_create()
254 memset(&threads[i], 0, sizeof(pthread_info_t)); in thread_create()
266 memcpy(&threads[i].data, &base_info, sizeof(base_info)); in thread_create()
267 threads[i].active = 1; in thread_create()
268 memcpy(&threads[i].data.client_fd, client_fd, sizeof(mbedtls_net_context)); in thread_create()
270 if ((ret = pthread_create(&threads[i].thread, NULL, handle_ssl_connection, in thread_create()
271 &threads[i].data)) != 0) { in thread_create()
[all …]
/lib/mbedtls/external/mbedtls/tests/suites/
A Dtest_suite_psa_crypto_init.function218 mbedtls_test_thread_t *threads = NULL;
220 TEST_CALLOC(threads, sizeof(mbedtls_test_thread_t) * thread_count);
225 * threads. */
228 mbedtls_test_thread_create(&threads[i],
235 TEST_EQUAL(mbedtls_test_thread_join(&threads[i]), 0);
242 /* Test initialising PSA whilst also testing flags on other threads. */
248 mbedtls_test_thread_create(&threads[i],
254 mbedtls_test_thread_create(&threads[i],
262 TEST_EQUAL(mbedtls_test_thread_join(&threads[i]), 0);
268 mbedtls_free(threads);
A Dtest_suite_ctr_drbg.function350 mbedtls_test_thread_t *threads = NULL;
367 TEST_CALLOC(threads, sizeof(mbedtls_test_thread_t) * thread_count);
401 mbedtls_test_thread_create(&threads[i],
407 TEST_EQUAL(mbedtls_test_thread_join(&threads[i]), 0);
418 mbedtls_free(threads);
A Dtest_suite_psa_crypto.function1956 mbedtls_test_thread_t *threads = NULL;
1980 /* Test that when multiple threads import the same key,
1990 /* Join threads. */
1992 TEST_EQUAL(mbedtls_test_thread_join(&threads[i]), 0);
2003 /* Join threads. */
2005 TEST_EQUAL(mbedtls_test_thread_join(&threads[i]), 0);
2012 mbedtls_free(threads);
10058 mbedtls_test_thread_t *threads = NULL;
10079 /* Split threads to generate key then destroy key. */
10086 /* Join threads. */
[all …]
/lib/mbedtls/external/mbedtls/docs/architecture/psa-thread-safety/
A Dpsa-thread-safety.md14 - The testing system has now been made thread-safe. Tests can now spin up multiple threads, see [Th…
23 …tion describes the properties that are followed when PSA functions are invoked by multiple threads.
24 …e-guide) section gives guidance on initializing, using and freeing PSA when using multiple threads.
93 2. The resources from the key have been freed. This allows threads to create similar keys immediate…
101 …or drivers. Driver entry points may be called concurrently from multiple threads. Threads can conc…
119threads can use any PSA function if there is no overlap between their calls. All threads share the…
127 …ces. This is because any such operation would need to wait for all other threads to complete their…
129 `mbedtls_psa_crypto_free` must only be called by a single thread once all threads have completed th…
164 …he slot, this thread is responsible for the next state transition. Other threads cannot read the c…
255 …al tests to spin up multiple threads. This work has made the global variables used in tests thread…
[all …]
/lib/lwip/lwip/contrib/ports/unix/
A DREADME25 space layer 2 network device). Uses lwIP threads.
/lib/lwip/lwip/contrib/ports/unix/port/
A Dsys_arch.c111 static struct sys_thread *threads = NULL; variable
163 thread->next = threads; in introduce_thread()
165 threads = thread; in introduce_thread()
/lib/lzma/
A Dhistory.txt12 if more than 10 threads were used (or more than 20 threads in some modes).
/lib/lwip/lwip/
A DUPGRADING146 * modification of api modules to support FreeRTOS-MPU (don't pass stack-pointers to other threads)
150 threads each (needs LWIP_NETCONN_SEM_PER_THREAD)
A DCHANGELOG745 (don't pass stack-pointers to other threads)
3703 like "sys_timeout" in their application threads.
4357 threads because it wasn't protected by semaphores.
/lib/
A DKconfig1277 one or more secondary threads and schedule them until they all have
/lib/mbedtls/external/mbedtls/docs/architecture/
A Dpsa-shared-memory.md126 > In an environment with multiple threads or with shared memory, the implementation carefully acces…

Completed in 37 milliseconds