>
Here's my result.
BTW, non of the machines I tested on had the sched_getcpu function, so I
added "#define sched_getcpu getpid" to the file.
-------------------
Machine 1: 8 X (core Intel(R) Xeon(R) CPU E5320 @ 1.86GHz)
=== Jack ringbuffer test ===
starting ringbuffer stress test (2 minutes max)
buffer size (bytes): 512
array size (bytes): 256
reader started on cpu 17602
writer started on cpu: 17602
60288 != 60160 at offset 0
failure in chunk 373678
Rest was success
-------------------
Machine 2: 1 X (AMD Sempron(TM) 3000+)
Success
Success
Success
-------------------
Machine 3: 3 X (Intel(R) Xeon(TM) CPU 2.80GHz)
=== Jack ringbuffer test ===
starting ringbuffer stress test (2 minutes max)
buffer size (bytes): 512
array size (bytes): 256
reader started on cpu 27916
writer started on cpu: 27916
16640 != 16512 at offset 0
failure in chunk 2300164
Rest was success
-------------------
Machine 4: SunOs 5.8 sun4u sparc SUNW,Ultra-4 Solaris
:-)
The jack test compiled fine.
Portaudio version:
"portaudio/pa_ringbuffer.c", line 121: #error: Memory barriers are not defined on this system. You can still compile by defining ALLOW_SMP_DANGERS, but SMP s
Also:
$ ./test-int-array-jack
starting ringbuffer stress test (2 minutes max)
Segmentation Fault
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
LINUX® is a registered trademark of Linus Torvalds in the USA and other countries.
Linuxaudio.org logo copyright Thorsten Wilms © 2006.
Hosting provided by the Virginia Tech Department of Music and DISIS.