from gluon import currentimport multiprocessingdef ip(): p = multiprocessing.Process(target=t,args=("hello",current.db)) p.start() p.join()print "start"def t(arg1,arg2):print "sub start %s"%arg1print arg2.account.count(
I use it but it report thead local error? how to use it ,or use the DAL in a sub thread? -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.