History log of /haiku-fatelf/headers/private/kernel/util/atomic.h
Revision Date Author Comments
# 22c69629 05-May-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Added atomic_pointer_get().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25324 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 801591db 29-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

* Added an atomic_pointer_set() template function to util/atomic.h.
* Made the pointers const.
* Changed how the ARP module maintains its arp_entry::request_buffer: it
now uses the atomic_pointer*() functions to make sure there is no race
condition, and it's deleted only once.
* Getting an ARP entry would return uninitialized data, if the entry hadn't
been resolved yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25263 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b1d749f8 29-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

* Added an atomic.h header that provides a C++ file with a templatized
64-bit safe version of atomic_test_and_set() for pointers:
atomic_pointer_test_and_set().
* The VFS is now using this function (it's not used anywhere else in the
kernel this way).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25260 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 22c69629591fc96f1e20a5b6d420949ac430fd8a 05-May-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Added atomic_pointer_get().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25324 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 801591dbdea634316f6ff0b0fd0b18f5eaafee6b 29-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

* Added an atomic_pointer_set() template function to util/atomic.h.
* Made the pointers const.
* Changed how the ARP module maintains its arp_entry::request_buffer: it
now uses the atomic_pointer*() functions to make sure there is no race
condition, and it's deleted only once.
* Getting an ARP entry would return uninitialized data, if the entry hadn't
been resolved yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25263 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b1d749f8f1d17830c8f24d49a21cdba1e174a0b0 29-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

* Added an atomic.h header that provides a C++ file with a templatized
64-bit safe version of atomic_test_and_set() for pointers:
atomic_pointer_test_and_set().
* The VFS is now using this function (it's not used anywhere else in the
kernel this way).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25260 a95241bf-73f2-0310-859d-f6bbb57e9c96