Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
brinkqiang2lua
/
node-lua
Public
forked from
socoding/node-lua
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
node-lua-v1.1
Breadcrumbs
node-lua
/
node-lua.lua
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
33 lines (23 loc) · 1.79 KB
node-lua-v1.1
Breadcrumbs
node-lua
/
node-lua.lua
Copy path
Top
File metadata and controls
Code
Blame
33 lines (23 loc) · 1.79 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
14.
考虑
lua_service
的
gc
[考虑一直没有唤醒的服务的
lua
垃圾回收]
17.
研究
lua
hook
,如何中断死循环和调试(输入)
22.
to
be
implemented
/
to
be
fixed
23.
udp
http
https
24.
lua
socket
tcp
socket
迁移
io
阻塞非阻塞?
setvbuf
{
"
__tostring
"
,
f_tostring
},
热更新
优化
lua
shared
proto
锁,不使用原子锁?
udp
tty
在线调试
freebsd
:
1.
pkg
命令安装软件
pkg
安装
pkg
自身
pkg
install
2.
sshd
服务器配置
/
etc
/
ssh
/
sshd_config
:
PermitRootLogin
yes
3.
make
和 其它操作系统不一样,需要安装
gmake
warning 编译
lua
的共享
dll
库,需要在编译时开启
LUA_BUILD_AS_DLL
这个宏(以便在
vc
下边下编译时导出符号) (外部模块库需要同时开启
LUA_CORE
这个宏,以便使用
LUAMOD_API
这个宏来导出
luaopen
接口)
warning 使用
lua
的
dll
扩展库,需要把
lua
整个打成
dll
动态库,主进程和其它扩展库都需要使用动态链接
lua
库的方式来编译或生成,不然
lua
的版本校验将不会通过(动态库实际使用
lua
.
dll
,编译和链接时使用
lua
.
lib
)
如果是静态库,那么每个模块加载该静态库后,每个模块都分别有一个拷贝。如果是动态库,每个模块加载该动态库后,都只有一个拷贝。
http
:
//
blog
.
csdn
.
net
/
rheostat
/
article
/
details
/
18796911
Don
'
t link your C module with liblua.a when you create a.so from it.
For
examples
,
see
my
page
of
Lua
libraries
:
http
:
//
www
.
tecgraf
.
puc
-
rio
.
br
/
~
lhf
/
ftp
/
lua
/
.
You
can
link
liblua
.
a
statically
into
your
main
program
but
you
have
to
export
its
symbols
by
adding
-
Wl
,
-
E
at
link
time
.
That
'
s how the Lua interpreter is built in Linux.
A
node
completation
of
lua
which
support
sync
and
async
remote
procedure
call
,
and
task
-
multiplexing
support
(
in
muti
-
thread
mode
with
no
useless
wakeup
)
You can’t perform that action at this time.