Ensure thread IDs always start with 1 even if the library is reused
authorTobias Brunner <tobias@strongswan.org>
Sat, 11 Aug 2012 15:30:39 +0000 (17:30 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 13 Aug 2012 09:28:08 +0000 (11:28 +0200)
commitefbb5e8c57330ec730825aa31ac5153f1d1c5913
tree3357b386711f8bff93fc1db7f4c084576ee3ccf8
parent1fcaa71291e896a653826fefd8e0d73a9d4ed41d
Ensure thread IDs always start with 1 even if the library is reused

Within the Android App the library stays loaded in memory and is just
initialized/deinitialized with each connection, the static thread
counter would continuously increase without this patch.
src/libstrongswan/threading/thread.c