MCPcopy
hub / github.com/smallfawn/QLScriptPublic / print

Function print

notify.py:25–30  ·  view source on GitHub ↗

使输出有序进行,不出现多线程同一时间输出导致错乱的问题。

(text, *args, **kw)

Source from the content-addressed store, hash-verified

23
24# 定义新的 print 函数
25def print(text, *args, **kw):
26 """
27 使输出有序进行,不出现多线程同一时间输出导致错乱的问题。
28 """
29 with mutex:
30 _print(text, *args, **kw)
31
32
33# 通知服务

Callers 15

userLoginNormalFunction · 0.70
process_new_year_lotteryFunction · 0.70
process_accountFunction · 0.70
mainFunction · 0.70
barkFunction · 0.70
consoleFunction · 0.70
dingding_botFunction · 0.70
feishu_botFunction · 0.70
go_cqhttpFunction · 0.70
gotifyFunction · 0.70
iGotFunction · 0.70
serverJFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected