mirror of
https://github.com/gnustep/libs-performance.git
synced 2025-02-15 16:11:14 +00:00
Allow very large FIFO for buffering extremely high throughput systems.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/performance/trunk@40193 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f73a0a2cb1
commit
82f18a1372
2 changed files with 2 additions and 2 deletions
2
GSFIFO.h
2
GSFIFO.h
|
@ -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
|
||||
|
|
2
GSFIFO.m
2
GSFIFO.m
|
@ -637,7 +637,7 @@ stats(NSTimeInterval ti, uint32_t max, NSTimeInterval *bounds, uint64_t *bands)
|
|||
boundaries: (NSArray*)a
|
||||
name: (NSString*)n
|
||||
{
|
||||
if (c < 1 || c > 1000000)
|
||||
if (c < 1 || c > 100000000)
|
||||
{
|
||||
[self release];
|
||||
return nil;
|
||||
|
|
Loading…
Reference in a new issue