版权声明:本文为博主原创文章,未经博主允许不可以转载。 https://blog.csdn.net/aasmfox/article/details/83893402
//声明对象变量
ccuo_thread lccuo_thread
//创建新线程
SharedObjectRegister ('ccuo_thread' ,'thread_center' )
//引用实例
SharedObjectGet ('thread_center' ,lccuo_thread )
nvo_param param
param = create nvo_param
param.text = "hello world "
param.w = parent
param.idx = 0 ;
lccuo_thread.post of_center (param )
//中止线程
SharedObjectunRegister ('thread_center' )