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

您现在的位置是:虫虫源码 > Python > 线程Python语言扩展

线程Python语言扩展

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

资 源 简 介

python-safethread is a large modification of CPython intended to provide safe, easy, and scalable concurrency mechanisms. It focuses on local concurrency, not distributed or parallel programs. Note: As an implementation, python-safethread is dead. It is not worth the effort to continue rewriting CPython to have a true tracing GC. However, the semantics presented are still viable and I intend to reuse them in future projects. Some major features: * Exceptions from threads propagate naturally and cause the program to shut down gracefully. * No memory model is necessary. All mutable objects are safely contained with monitors (similar to Concurrent Pascal"s monitors, but different from Java"s monitors), or otherwise provide explicit semantics. * Deadlocks are detected and broken automatically. * Finalization is thread-safe (and uses a much simpler mechanism at a low-level.) * Most existing single-threaded code will continu

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
  • 11 2小时前 成为了本站会员

  • 开心快活人 5小时前 成为了本站会员

  • 晋财 6小时前 成为了本站会员

  • WYG 1天前 成为了本站会员

  • Shine 1天前 成为了本站会员

  • 柳贻 1天前 成为了本站会员

  • hallelujah_HL 1天前 成为了本站会员

  • 焦昱贺 1天前 成为了本站会员

  • Rubin 1天前 成为了本站会员

  • Li 2天前 成为了本站会员

1.216507s