查看单个帖子
旧 2009-05-04, 03:22 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】about rendering using a thread

about rendering using a thread
drawer thread
hello,
i have a question about a drawer thread used in the sample, odamfcapp.
i was thinking that the drawer thread had to stop whenever it took a signal.
so i read the codes in abortregen().
but i couldn't understand.
just by sending 'wm_close' message to the drawer thread and waiting for objects to respond, is it ok?
i think that the thread should be able to stop while it is drawing.
but your codes doesn't seem to like to do that.
could you explain how it works?
sorry for bothering you with just like these things.
last edited by ktwinkle; 16th may 2006 at 10:59 pmfff">.
quote:
originally posted by ktwinkle
could you explain how it works?
hi,
it's pretty difficult... that's one of the reasons why drawer thread is removed in dd 1.15.
the idea is to allow only one thread to access a db at the same time. 2 types of synchronization objects are used: messages and event. please, ask concrete question. what's your problem with drawer thread ?
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)