[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] the great next stuff branch, libfuse/pinotree/fuse-improvements/ma
From: |
Pino Toscano |
Subject: |
[SCM] the great next stuff branch, libfuse/pinotree/fuse-improvements/master, updated. 748ef0df0ae891c65043a2a3c8d0f29cad358f5a |
Date: |
Sat, 30 Mar 2013 14:41:45 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "the great next stuff".
The branch, libfuse/pinotree/fuse-improvements/master has been updated
via 748ef0df0ae891c65043a2a3c8d0f29cad358f5a (commit)
from cd50c0de1db93520000bfb907caf07e51aa6cec5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 748ef0df0ae891c65043a2a3c8d0f29cad358f5a
Author: Pino Toscano <address@hidden>
Date: Sat Mar 30 15:28:07 2013 +0100
Switch from __thread to pthread_key_t for fuse_context
This allows to properly cleanup the per-thread context.
* src/fuse_i.h (libfuse_ctx): Remove declaration.
* src/main.c (libfuse_ctx): Remove variable.
(libfuse_ctx_key): New variable.
(fuse_destroy_context): New function.
(fuse_create_key): Likewise.
(fuse_new): Use fuse_get_context instead of libfuse_ctx.
(fuse_get_context): Create fuse_create_key only once. Allocate a new
struct fuse_context if needed, and return it.
* src/netfs.c (update_context_struct): Use fuse_get_context instead of
libfuse_ctx.
-----------------------------------------------------------------------
Summary of changes:
src/fuse_i.h | 2 --
src/main.c | 45 ++++++++++++++++++++++++++++++++++++++++++---
src/netfs.c | 18 +-----------------
3 files changed, 43 insertions(+), 22 deletions(-)
hooks/post-receive
--
the great next stuff
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] the great next stuff branch, libfuse/pinotree/fuse-improvements/master, updated. 748ef0df0ae891c65043a2a3c8d0f29cad358f5a,
Pino Toscano <=