Weird Events
来源:互联网 发布:淘宝发空包是什么意思 编辑:程序博客网 时间:2024/06/05 17:55
Q1: (surrendered) istream::gcount() can not work?
A1: Now I apply strlen() function to the read-buffer instead of invocation to gcount() as a temporary alternative.
I should overview and debug the STL and Poco source code to find out what caused this event happened,
but time is not too much for me now, I promise here that I'll be back later when I have time. o(^_^)o
Q2: (cleared) Due to low-level implementation, Poco::FastMutex is recursive on win32 platform, and non-recursive on posix platform.
A2: CRITICAL_SECTION is default to be recursive, therefore FastMutex who just wrapping the EnterCriticalSection() call and do nothing else is not that adequate when whose code comment told me that FastMutex run as a non-recursive lock.
Q3: (cleared) Deadlock incurred in the scope with a scope-lock wrapper whose destructor when leave the scope will release the private mutex that acquired in the constructor at initial point of the scope.
A3: I admit my fault. -_-! I make potential lock-acquire call in the scope even who really does have a scope-lock wrapper.
- Weird Events
- weird
- EVENTS
- Events
- Weird Clock
- Weird Clock
- Weird Cryptography
- Weird Rounding
- Weird Rounding
- hd 1887 Weird Numbers
- hoj 11170 Weird Numbers
- zoj 1476 Weird Clock
- Weird, but OK
- UVA 11983 Weird Advertisement
- weird xmlrootelement problem
- HDU 1393 Weird Clock
- HDU1393:Weird Clock
- hdu1393 Weird Clock
- shell command
- linux EOF
- 用户 'IIS APPPOOL/DefaultAppPool' 登录失败。
- 网页播放器Object使用详解
- 802.11 Authentication and Association
- Weird Events
- 开播了!
- 巧用可变参数宏、编译器内置宏和printf输出调试信息
- 关于伪操作和伪指令
- C#利用反射,遍历获得一个类的所有属性名,以及该类的实例的所有属性的值
- Timer和TimerTask
- SSH ,vim 显示语法高亮
- 软件项目管理师复习指南十六:项目采购管理
- Jquery 函数