On Mon, Jun 13, 2016 at 07:36:31PM +0900, Ryota Ozaki wrote: > Currently we do it by open-coding in each place, > but we should provide some API to simplify codes. > riastradh@ suggested curlwp_bind and curlwp_unbind > some time ago (*1) and this patch (*2) just follows > the idea.
The primary question for me is whether nesting should be allowed or not. That would mean a reference count behind the flag. Joerg