- 论坛徽章:
- 0
|
急急:DB2嵌入C,多线程(进程),并发,为何效率这么低?
The net result is that each SQL statement within a context is executed as an
atomic unit, even though other threads may also be trying to execute SQL
statements at the same time. This action ensures that internal data structures
are not altered by different threads at the same time. APIs also use the latch
& Copyright IBM Corp. 1993-2002 207
used by run-time services; therefore, APIs have the same restrictions as
run-time services routines within each context. |
|