首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > libctrans旨在促进交易的面向对象编程为平原C.这意味着代码组织成逻辑任务的开始和结束。正如在数据库中,如果一个错误/异常/异常执行出现时,该事务可以回滚

libctrans旨在促进交易的面向对象编程为平原C.这意味着代码组织成逻辑任务的开始和结束。正如在数据库中,如果一个错误/异常/异常执行出现时,该事务可以回滚

资 源 简 介

libctrans is not transparent to the user (C programmer). Code has to be changed to take advantage of it. Still its ussage is quite intuitive and the performance is quite similar to normal C without transaction support: Basically it means a Transaction pointer must be passed to each function and wrapper functions used instead of standard ones. For example try_malloc transform into ctrans_try_malloc. Nevertheless, normal C can be mixed if used with care and is NOT discouraged. Basically it means that any C code inside a transaction that makes not use of ctrans frees any used resource before the transaction ends (either normally or through an excption). libctrans promote code cleaner and safer since it tags logical transaction starts/stops and get rid of repetitive error checking.

文 件 列 表

documentation
html

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP