Comments (5)
Hi Paul
I just returned from holidays. The @request macro is an ugly hack I have to change. I will try to solve the problem as soon as possible. I will keep you informed. Thanks for your patience.
Ben
from concurrentsim.jl.
from concurrentsim.jl.
Hi Paul
You can find a working example (after master checkout of SimJulia) in gist.
When you use @request you still have to do @yield return req (see an example in tests to balk if the request process has to wait too long).
You don't have to do the queue management yourself (a Resource contains always the needed queues).
I hope this solves your problem.
Kind regards
PS I know I have to finish documentation ... ;)
from concurrentsim.jl.
Hi Ben,
as I wrote in gist you can close the issue, but for reasons described there, I cannot follow you with the queue management.
Kind regards,
Paul
from concurrentsim.jl.
Hi Paul,
I am very interested to make your example more straightforward. To store items you can use a Store
and split logically the queue and the clerk. I will also look at your logging utilities. I keep you informed;)
Kind regards
Ben
from concurrentsim.jl.
Related Issues (20)
- Support for Discrete Time HOT 5
- TagBot trigger issue HOT 8
- Rank priority function in StorePutKey
- Polling a resource / poor-mans spinlock HOT 4
- Citation reference? HOT 1
- Add API Functions for process and resource state inspection
- TODO: Transparent statistics gathering for resources HOT 1
- document similarities and differences with DiscreteEvents.jl
- add downstream breakage tests to CI
- set documentation builder to error on warnings (and clear up all the warnings)
- enable preemption of jobs HOT 1
- use the typical Base functions instead of declaring new ones (e.g. `get`, `put`, `release`, etc) HOT 1
- document difference between Resource, Store, and Container
- verify all basic types are concrete (and consider using sumtypes where possible)
- Error when building documentation HOT 2
- Try - catch bad for performance in Julia. HOT 1
- port SimJulia.jl 'school' example and add description of that to the docs HOT 3
- refresh the examples folder: clean up, rewrite, test, and add to CI
- add benchmarks to CI
- documentation reorganizing
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 concurrentsim.jl.