[lkml]   [2009]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [4/7] dst: thread pool.
Arjan van de Ven <> wrote:

> > 2: David Howells' "slow work" infrastructure
> this one is *weird*. The infrastructure deals with object refcounting
> somehow.

The slow-work facility keeps a reference on the object you've asked it to call
a function to be called upon until it has finished calling that function.
This simplifies the object handling code a lot, and allows you to avoid
slow-work synchronisation requests in object destructors.


 \ /
  Last update: 2009-02-05 14:59    [W:0.099 / U:1.204 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site