mirror of
https://github.com/gnustep/libs-performance.git
synced 2025-02-19 01:51:01 +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/>
|
/** <init/>
|
||||||
* Initialises the receiver with the specified capacity (buffer size).<br />
|
* 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 />
|
* the receiver is deallocated and this method returns nil.<br />
|
||||||
* If the granularity value is non-zero, it is treated as the maximum time
|
* 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
|
* 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
|
boundaries: (NSArray*)a
|
||||||
name: (NSString*)n
|
name: (NSString*)n
|
||||||
{
|
{
|
||||||
if (c < 1 || c > 1000000)
|
if (c < 1 || c > 100000000)
|
||||||
{
|
{
|
||||||
[self release];
|
[self release];
|
||||||
return nil;
|
return nil;
|
||||||
|
|
Loading…
Reference in a new issue