Comments (7)
Downloading the source code, and investigating, within RingBuffer.Fill, there's a variable called _bufferPadRef which is used to leave some nulls at the start of the ringBuffer.
If I create new ringbuffer entries for those initial entries which are meant to be ununused (in the buffer), then my code will run on Linux too without any problems.
That's a fudge, clearly the padding is there for a reason.
from disruptor-net.
I see the problem: in the Util class, the array data offset is assumed to be 8/16 bytes but this is not the case on Mono. I will fix that, sorry.
from disruptor-net.
great - can you let me know when it's released please?
from disruptor-net.
Sure. The data offset code was only changed in the last version, you can try using version 3.6.0 if you want to.
from disruptor-net.
I just pushed a fix, can you try it before I publish the package?
from disruptor-net.
I was able to run the tests and the performance tests on Mono-x32 and Mono-x64, so I published a new version with the fix.
from disruptor-net.
sorry, would have done this for you, but we're clearly in different timezones.
I've just tested the release, looks good to me, thanks.
from disruptor-net.
Related Issues (20)
- add Task and async support for 'OnEvent' and 'Publish' HOT 10
- Strong Naming the Disruptor Assembly? HOT 2
- EventPoller for ValueRingBuffer HOT 5
- Does Disruptor support asynchronous EventHandler? HOT 4
- EventHandlerGroup<T>.And(EventHandlerGroup<T> eventHandlerGroup) usage HOT 4
- Long-running EventHandler causes high CPU consumption HOT 5
- Error: Unknown command 'Build-Assembly'.
- DynamiclyAddHandler can't work HOT 1
- Task-based handlers HOT 4
- Remove cake usage
- Add a wiki page to explain event handler interfaces HOT 1
- Is it safe to use Disruptor with System.IO.Pipelines without extra allocations? HOT 11
- Read method without locals HOT 15
- Is there a way to ensure backpressure on producers and not overwrite? HOT 13
- Is it safe/possible to use ByRefLike value types as events for ValueDisruptor? HOT 2
- .NET 6 support HOT 12
- Buffer getting full HOT 3
- Batch rewind HOT 9
- IAsyncBatchEventHandler with CancellationToken HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from disruptor-net.