Code Monkey home page Code Monkey logo

luajit-async's People

Contributors

colonelthirtytwo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

sonoro1234

luajit-async's Issues

interstates comunication

Simple, small and smart is your solution as it is your GLWF binding (which I have used alot)

I have added a "init" argument which is a function to be executed once to make some requires and other initialization stuff for the callbacks.

Threads are only for windows but I see you have LuaJIT-Threads (which has a small compiled file) Shouldn't both projects be merged?

The only thing I am missisng is interstates comunication (which can be solved with socket or zmq) but I am curious about what you mean with:
"The only way to share information between the main Lua state and the callback is by a
userdata pointer in the callback function, which you will need to synchronize yourself."

could you provide an example? (without syncronization)

Thanks
victor bombi

linux behaviour

Hello Alex,

I have been using this without problems alot of time in win32 32bits and 64bits.

Last day I had acces to an ubuntu machine ( I am newcommer to linux) and the callback test (from your branch also) says: Segmentation fault.

Any clue to someone new to linux that could explain that?

Thanks for you patience
victor bombi

undefined variable 'str_b'

Analyzing the source code: 1 warning.
lj-async/thread.lua:64:15: accessing undefined variable 'str_b'

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.