folly icon indicating copy to clipboard operation
folly copied to clipboard

AsyncIO

Open qRoC opened this issue 13 years ago • 2 comments

In AsyncIO property pending_ has type ssize_t, but pending() returns size_t. Its normal?

qRoC avatar Aug 15 '13 16:08 qRoC

I suspect the goal is to detect over decrefing by going negative instead of wrapping to a valid positive value.

Tudor?

jdelong avatar Aug 15 '13 19:08 jdelong

Yes, Jordan is right.

-Tudor.

On Thu, Aug 15, 2013 at 12:16 PM, jdelong [email protected] wrote:

I suspect the goal is to detect over decrefing by going negative instead of wrapping to a valid positive value.

Tudor?

— Reply to this email directly or view it on GitHubhttps://github.com/facebook/folly/issues/34#issuecomment-22722858 .

tudor avatar Aug 15 '13 19:08 tudor