From mboxrd@z Thu Jan 1 00:00:00 1970 From: Li Wang Date: Fri, 16 Jul 2021 21:21:44 +0800 Subject: [LTP] [PATCH] crypto/af_alg02: use pthread_tryjoin_np() instead of pthread_kill() In-Reply-To: References: <20210715102813.106843-1-aleksei.kodanev@bell-sw.com> <6e1a3663-59ea-5286-5c36-558b077184aa@bell-sw.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it > #define SALSA20_IV_SIZE 8 >> #define SALSA20_MIN_KEY_SIZE 16 >> +static int completed; >> >> static void *verify_encrypt(void *arg) >> { >> > But we still need to initialize '0' at the start of thread_B, in case of test running with '-i xx' parameter. Isn't it? tst_atomic_store(0, &completed); -- Regards, Li Wang -------------- next part -------------- An HTML attachment was scrubbed... URL: