Return-Path: Delivered-To: apmail-lucene-lucy-dev-archive@minotaur.apache.org Received: (qmail 89811 invoked from network); 6 Dec 2009 00:33:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Dec 2009 00:33:43 -0000 Received: (qmail 19357 invoked by uid 500); 6 Dec 2009 00:33:43 -0000 Delivered-To: apmail-lucene-lucy-dev-archive@lucene.apache.org Received: (qmail 19290 invoked by uid 500); 6 Dec 2009 00:33:42 -0000 Mailing-List: contact lucy-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucy-dev@lucene.apache.org Delivered-To: mailing list lucy-dev@lucene.apache.org Received: (qmail 19280 invoked by uid 99); 6 Dec 2009 00:33:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Dec 2009 00:33:42 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Dec 2009 00:33:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A06DB234C045 for ; Sat, 5 Dec 2009 16:33:20 -0800 (PST) Message-ID: <81482995.1260059600641.JavaMail.jira@brutus> Date: Sun, 6 Dec 2009 00:33:20 +0000 (UTC) From: "Marvin Humphrey (JIRA)" To: lucy-dev@lucene.apache.org Subject: [jira] Updated: (LUCY-83) FSFileHandle In-Reply-To: <415441938.1260058040715.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCY-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marvin Humphrey updated LUCY-83: -------------------------------- Attachment: fsfilehandle_support.diff TestFSFileHandle.c TestFSFileHandle.bp > FSFileHandle > ------------ > > Key: LUCY-83 > URL: https://issues.apache.org/jira/browse/LUCY-83 > Project: Lucy > Issue Type: Sub-task > Components: Core > Reporter: Marvin Humphrey > Assignee: Marvin Humphrey > Priority: Blocker > Attachments: FSFileHandle.bp, FSFileHandle.c, fsfilehandle_support.diff, lseek64_pread64.diff, TestFSFileHandle.bp, TestFSFileHandle.c > > > FSFileHandle abstracts out low level interaction with the OS and file system. > Some form of memory map support is required: mmap() on unixen, and > CreateFileMapping()/MapViewOfFile() on Windows. > Only atomic, positional reads are supported, using 64-bit pread() on unixen, > and ReadFile() with an OVERLAPPED structure on Windows. > Multiple InStreams may share a single read-only FSFileHandle, because > FSFH_Read() does not change file position or other state in the underlying > OS-specific file object. Theoretically, operating multiple InStreams in > different threads against a single shared FileHandle will also work -- which > is crucial for threadsafe compound files. Thread safety is as yet untested, > though, since Lucy's Perl bindings are single-threaded. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.