![]() |
【转帖】can two thread render at the same time
can two thread render at the same time
can two thread render at the same time hi, i am developping a program to view dwg file under windws system. now i need some help. i have two threads which have different odgsdevice but share the same oddbdatabase. i want to let both the two threads render on different dc.one is on the window dc and the other is on the memory dc. the problem is that, if the two threads run at the same time, only one thread can work.if the two threads run at the different time, each of them is ok. can anybody tell me why? currently accessing the same database from different threads is not safe even for rendering (rendering may cause xref loading which actually modifies the database). sergey slezkin |
所有的时间均为北京时间。 现在的时间是 08:56 AM. |