Remove log from get_alive_threads() 84/317384/2
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 31 Dec 2024 10:30:50 +0000 (11:30 +0100)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 31 Dec 2024 12:35:58 +0000 (13:35 +0100)
No allocations allowed during thread sync

Change-Id: I3e539c4572ccfba96ba798383c1eea7d0260cd44

src/client/client-security-manager.cpp

index 553c0b928a4945bb939cdf08943d0479e42c418f..d2f3ce26c8931b8d029d99e1ae3e8b8ea5b7392d 100644 (file)
@@ -109,10 +109,9 @@ static bool g_thread_signaled[MAX_THREAD_COUNT];
 static cap_t g_cap;
 
 static inline void add_managed_tid(int tid){
-    if (g_managed_tids_num == MAX_THREAD_COUNT) {
-        LogError("Adding too many threads, aborting! MAX_THREAD_COUNT == " << MAX_THREAD_COUNT);
+    if (g_managed_tids_num == MAX_THREAD_COUNT)
         abort();
-    }
+
     g_thread_state[g_managed_tids_num] = 0;
     g_thread_index[g_managed_tids_num] = tid;
     g_thread_alive[g_managed_tids_num] = true;