beast r4256 - in trunk/birnet: . tests
- From: timj svn gnome org
- To: svn-commits-list gnome org
- Subject: beast r4256 - in trunk/birnet: . tests
- Date: Mon, 29 Jan 2007 23:55:14 +0000 (GMT)
Author: timj
Date: 2007-01-29 23:55:14 +0000 (Mon, 29 Jan 2007)
New Revision: 4256
ViewCVS link: http://svn.gnome.org/viewcvs/beast?rev=4256&view=rev
Modified:
trunk/birnet/ChangeLog
trunk/birnet/birnetthread.hh
trunk/birnet/tests/threads.cc
Log:
Sun Jan 28 19:05:51 2007 Tim Janik <timj gtk org>
* birnetthread.hh: provide read and write memory barriers:
Atomic::read_barrier(), Atomic::write_barrier().
Atomic::RingBuffer: prevent class copies, fixed destructor, use
std::copy() for fast memory copies and added missing barriers;
fixes suggested by Stefan Westerfeld.
* tests/threads.cc: fixed contention handling in ring buffer tests.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]