diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2010-09-09 05:13:20 +0100 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2010-09-09 05:13:20 +0100 |
| commit | 8f65d05faf06089625d90aeb0e005b734237d096 (patch) | |
| tree | 51cc01aac9f2bb07cb01f5612b0d6fec36a9779c | |
| parent | 22c272daa8cc73a1ef1eeec948319fbe8f3ae933 (diff) | |
| download | rabbitmq-server-git-8f65d05faf06089625d90aeb0e005b734237d096.tar.gz | |
say a bit more own fd ownership
| -rw-r--r-- | src/file_handle_cache.erl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/file_handle_cache.erl b/src/file_handle_cache.erl index 7c89b1d36e..2ee12329ad 100644 --- a/src/file_handle_cache.erl +++ b/src/file_handle_cache.erl @@ -135,8 +135,10 @@ %% - reopening them when necessary is handled transparently. %% %% The server also supports obtain and transfer. obtain/0 blocks until -%% a file descriptor is available. transfer/1 transfers ownership of a -%% file descriptor between processes. It is non-blocking. +%% a file descriptor is available, at which point the requesting +%% process is considered to 'own' one more descriptor. transfer/1 +%% transfers ownership of a file descriptor between processes. It is +%% non-blocking. %% %% The callers of register_callback/3, obtain/0, and the argument of %% transfer/1 are monitored, reducing the count of handles in use |
