Generic MP LIFO implementation. More...
#include <lifo.h>
Public Member Functions | |
AtomicLifo () | |
void | enqueue (T volatile *value) |
T * | dequeue_all () |
T * | head () |
Generic MP LIFO implementation.
Copyright (C) 2010, Bernhard Kauer <bk@vmmon.org> Economic rights: Technische Universitaet Dresden (Germany)
This file is part of Vancouver.
Vancouver.nova is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
Vancouver.nova is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details. Generic MP-save LIFO implementation.
AtomicLifo< T >::AtomicLifo | ( | ) | [inline] |
T* AtomicLifo< T >::dequeue_all | ( | ) | [inline] |
void AtomicLifo< T >::enqueue | ( | T volatile * | value | ) | [inline] |
T* AtomicLifo< T >::head | ( | ) | [inline] |