Robert G. Jakabosky
fc853ed044
Cleanup formatting.
15 years ago
Robert G. Jakabosky
c38f5bae7b
Cleanup formatting.
15 years ago
Robert G. Jakabosky
c70cad005d
Cleanup windows instructions.
15 years ago
Robert G. Jakabosky
3bcfd30ddb
Re-generate bindings file. Improved support for Windows+MinGW+MSYS.
15 years ago
Robert G. Jakabosky
7242ded710
Add ZMQ_PATH cmake variable for Windows.
15 years ago
Robert G. Jakabosky
ba5f08b586
Fix issue with some variables named 'this' which conflicts with the Intel C compiler.
15 years ago
Robert G. Jakabosky
1bd721fb02
Merge pull request #10 from dcreager/feature/thread-init
...
Add additional code to each thread's bootstrap logic
15 years ago
Robert G. Jakabosky
97de35929b
Add external dependency for libzmq & zmq.h.
15 years ago
Douglas Creager
9975bdfd2c
Add additional code to llthreads bootstrap
...
This patch lets you add additional code to the beginning of the
bootstrap function executed within each new llthread. This is needed,
for instance, if you've installed lua-zmq via luarocks; in this case,
you need to require "luarocks.loader" before you can require "zmq". So
you can do something like:
if package.loaded["luarocks.loader"] then
zmq.threads.set_bootstrap_prelude([[require "luarocks.loader"]])
end
15 years ago
Robert G. Jakabosky
ec8409ffeb
Use opaque struct types instead of 'void *'.
15 years ago
Robert G. Jakabosky
f17bf0a4b3
Use zmq.stopwatch_start() instead of socket.gettime() for benchmarks.
15 years ago
Robert G. Jakabosky
a49943157c
Add support for zmq_stopwatch_*() and zmq_sleep() functions.
15 years ago
Robert G. Jakabosky
82a834eca4
Use '__declspec(dllexport)' instead of LUALIB_API on WIN32.
15 years ago
Robert G. Jakabosky
18fd336bb3
Update CMake build files to correctly install zmq.poller & zmq.threads Lua code.
15 years ago
Robert G. Jakabosky
40b7e88d33
Change dependencies to depend on scm version of lua-zmq & lua-llthreads.
15 years ago
Robert G. Jakabosky
10e68fb269
Fix incorrect use of global in FFI code. Locallize some globals from standard library in FFI code.
15 years ago
Robert G. Jakabosky
46ac27b3e5
Use 'nil' not 'false' for signalling errors.
15 years ago
Robert G. Jakabosky
ca22b64f2c
Fix issue with FFI bindings return 'nil' for error messages.
15 years ago
Robert G. Jakabosky
783e00ef7f
Fix use of 'NULL' instead of 'nil' in Lua code.
15 years ago
Robert G. Jakabosky
503f7c3177
Remove 'disable_ffi' support.
15 years ago
Robert G. Jakabosky
f13a4ef914
Remove use of 'disable_ffi' from FFI based bindings, since it can cause problems with strict environments.
15 years ago
Robert G. Jakabosky
289d4aab42
Fix formatting.
15 years ago
Robert G. Jakabosky
eedbaf189b
Add note for Ubuntu users.
15 years ago
Robert G. Jakabosky
7194be8851
Improve old version error message. Add note about requried zeromq version.
15 years ago
Robert G. Jakabosky
8439751b91
Add detection code for really old ZeroMQ 2.0.x series.
15 years ago
Robert G. Jakabosky
a3f912b8aa
Fix undefined socket_t with ZeroMQ 2.0.x
15 years ago
Robert G. Jakabosky
c2bc03b0ee
Add zmq.poller object to API docs.
15 years ago
Robert G. Jakabosky
180d3e37ef
Fix missing 'branch' for 1.0 release.
15 years ago
Robert G. Jakabosky
56a53d68d6
Add missing method/function to API.md. Add link to ZeroMQ guide.
15 years ago
Robert G. Jakabosky
cfca0e8096
Update README.
15 years ago
Robert G. Jakabosky
547ea071a9
Update README for 1.0 release.
15 years ago
Robert G. Jakabosky
96b76af120
prepare for 1.0 release.
15 years ago
Robert G. Jakabosky
2df2e1eae3
Update pre-generated bindings.
15 years ago
Robert G. Jakabosky
5754ba897a
remove debug print.
15 years ago
Robert G. Jakabosky
5a875c12a1
Fixed bug with destroying & creating 0MQ sockets quickly.
15 years ago
Robert G. Jakabosky
b66901fe3c
Fixed issue with GC of 0MQ context object. poller:poll() method now returns number of events handled.
15 years ago
Robert G. Jakabosky
0833549572
Added note about compiling Lua with -pthread flag
15 years ago
Robert G. Jakabosky
9689b108b5
Allow zmq context to be nil. Fixed passing of timeout value to poller.
15 years ago
Robert G. Jakabosky
eb96a2bc79
Fixed some bugs in low-level Poller object.
15 years ago
Robert G. Jakabosky
7519b05994
Add threaded perf benchmarks. Added push/pull perf benchmark.
15 years ago
Robert G. Jakabosky
9108254961
Added FFI support to Poller object.
15 years ago
Robert G. Jakabosky
1038af6d16
Added missing dependency. Fix thread latency perf benchmark.
15 years ago
Robert G. Jakabosky
418bbe024a
Updated pre-generated module code.
15 years ago
Robert G. Jakabosky
3e67fa7243
Fixed luarocks build.
15 years ago
Robert G. Jakabosky
bedc5c0c16
Fixed dependencies.
15 years ago
Robert G. Jakabosky
36a90d00d4
fix rockspec version.
15 years ago
Robert G. Jakabosky
d90b00f237
Move low-level threads code into a different project lua-llthreads.
15 years ago
Robert G. Jakabosky
747c53357f
Add thread-to-thread latency test example.
15 years ago
Robert G. Jakabosky
2f327f6e42
Fixed FFI loading bug.
15 years ago
Robert G. Jakabosky
5de9a8d46f
Added support for running Lua code in child threads.
15 years ago