]> git.ipfire.org Git - people/ms/strongswan.git/commit - src/libstrongswan/utils/utils.c
Added atomic compare and swap operations.
authorTobias Brunner <tobias@strongswan.org>
Fri, 23 Dec 2011 10:04:55 +0000 (11:04 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 23 Dec 2011 10:04:55 +0000 (11:04 +0100)
commit5317dd6887d4588a36138e74b83643c258e870b0
tree2f60fba54776c3f54688eae4b93ed6cb039fc7b5
parentd6656f11e48d9b545738d5f40e59f3c3dd90ef97
Added atomic compare and swap operations.

Using a GCC atomic builtin if available or a global mutex otherwise.
src/libstrongswan/utils.c
src/libstrongswan/utils.h