beast r4254 - in trunk/birnet: . tests
- From: timj svn gnome org
- To: svn-commits-list gnome org
- Subject: beast r4254 - in trunk/birnet: . tests
- Date: Mon, 29 Jan 2007 23:55:11 +0000 (GMT)
Author: timj
Date: 2007-01-29 23:55:10 +0000 (Mon, 29 Jan 2007)
New Revision: 4254
ViewCVS link: http://svn.gnome.org/viewcvs/beast?rev=4254&view=rev
Modified:
trunk/birnet/ChangeLog
trunk/birnet/birnetthread.cc
trunk/birnet/birnetthread.hh
trunk/birnet/tests/threads.cc
Log:
Thu Jan 25 02:03:37 2007 Tim Janik <timj gtk org>
* birnetthread.[hc]*: sink & ref threads around run() to keep the Thread
structure alive. added Thread::Self::yield().
added Atomic::RingBuffer<>, a simple 1-reader/1-writer ring bufferthat
does atomic reads/writes without needing mutexes.
* tests/threads.cc: added atomic ring buffer tests.
test_deletable_destruction(): shutup old debug output.
main(): always run quick tests.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]