Giter Club home page Giter Club logo

Comments (5)

BenLauwens avatar BenLauwens commented on June 15, 2024

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.

pbayer avatar pbayer commented on June 15, 2024

from concurrentsim.jl.

BenLauwens avatar BenLauwens commented on June 15, 2024

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.

pbayer avatar pbayer commented on June 15, 2024

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.

BenLauwens avatar BenLauwens commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.