Author: rfm
Date: Mon Nov 7 18:47:35 2016
New Revision: 40193
URL: http://svn.gna.org/viewcvs/gnustep?rev=40193&view=rev
Log:
Allow very large FIFO for buffering extremely high throughput systems.
Modified:
libs/performance/trunk/GSFIFO.h
libs/performance/trunk/GSFIFO.m
Modified: libs/performance/trunk/GSFIFO.h
URL:
http://svn.gna.org/viewcvs/gnustep/libs/performance/trunk/GSFIFO.h?rev=40193&r1=40192&r2=40193&view=diff
==============================================================================
--- libs/performance/trunk/GSFIFO.h (original)
+++ libs/performance/trunk/GSFIFO.h Mon Nov 7 18:47:35 2016
@@ -170,7 +170,7 @@
/** <init/>
* Initialises the receiver with the specified capacity (buffer size).<br />
- * The capacity must lie in the range from one to a million, othewrwise
+ * The capacity must lie in the range from one to a hundred million, otherwise
* the receiver is deallocated and this method returns nil.<br />
* If the granularity value is non-zero, it is treated as the maximum time
* in milliseconds for which a -get or -put: operation will pause between
Modified: libs/performance/trunk/GSFIFO.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/performance/trunk/GSFIFO.m?rev=40193&r1=40192&r2=40193&view=diff
==============================================================================
--- libs/performance/trunk/GSFIFO.m (original)
+++ libs/performance/trunk/GSFIFO.m Mon Nov 7 18:47:35 2016
@@ -637,7 +637,7 @@
boundaries: (NSArray*)a
name: (NSString*)n
{
- if (c < 1 || c > 1000000)
+ if (c < 1 || c > 100000000)
{
[self release];
return nil;
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs