mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 04:33:05 +00:00
add comment for message queue
This commit is contained in:
@@ -8,6 +8,7 @@ local message_queue = {}
|
|||||||
|
|
||||||
skynet.register_protocol {
|
skynet.register_protocol {
|
||||||
name = "queue",
|
name = "queue",
|
||||||
|
-- please read skynet.h for magic number 8
|
||||||
id = 8,
|
id = 8,
|
||||||
pack = skynet.pack,
|
pack = skynet.pack,
|
||||||
unpack = skynet.unpack,
|
unpack = skynet.unpack,
|
||||||
|
|||||||
Reference in New Issue
Block a user