ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## postMsgToThread ###接口说明 >抛送一个消息到其他线程 > +++ put:postMsgToThread var:threadID=其他线程的ID# var:msg=字符串格式# <<< success 无返回类型 +++ ###代码演示 ~~~ var thread = new Thread; thread.setScriptFile("d:/a.cpp"); thread.setScriptParam(""); thread.startThread(); postMsgToThread(thread.getThreadID(),"hello world"); ~~~