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

您现在的位置是:虫虫源码 > 其他 > 垃圾池是Common Lisp重新实现资源管理的月池

垃圾池是Common Lisp重新实现资源管理的月池

  • 资源大小:43.74 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: commonlisp

资 源 简 介

garbage-pools is Common Lisp re-implementation the APR Pools for resource management. API pool The fundamental pool type. with-garbage-pool ((&optional (var "*pool*)) &body body) Performs a series of operations on pool. Return the values returned by the body. Possible use named and unnamed pools. (with-garbage-pool () (cleanup-register myobj clenup-fun)) (with-garbage-pool (mypool) (cleanup-register myobj clenup-fun mypool)) cleanup-register (object cleanup-fun &optional (pool *pool*)) Register a function to be called when a pool is cleared. Return object. (with-garbage-pool () (cleanup-register (cffi:foreign-string-alloc "Hello world") #"cffi:foreign-string-free) ...) cleanup-pool

文 件 列 表

garbage-pools-0.1.2
doc
garbage-pools-test.asd
garbage-pools.lisp
test.lisp
garbage-pools.asd

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP